()
| 137 | } |
| 138 | |
| 139 | func (r *Registry) NotInitialized() []module.Module { |
| 140 | notinit := make([]module.Module, 0, len(r.instances)-len(r.initialized)) |
| 141 | for name, mod := range r.instances { |
| 142 | if _, ok := r.initialized[name]; ok { |
| 143 | continue |
| 144 | } |
| 145 | notinit = append(notinit, mod.Mod) |
| 146 | } |
| 147 | return notinit |
| 148 | } |