(name string)
| 313 | type ModuleStorage map[string]*Storage |
| 314 | |
| 315 | func (s ModuleStorage) Module(name string) (storage.Storer, error) { |
| 316 | if m, ok := s[name]; ok { |
| 317 | return m, nil |
| 318 | } |
| 319 | |
| 320 | m := NewStorage() |
| 321 | s[name] = m |
| 322 | |
| 323 | return m, nil |
| 324 | } |
nothing calls this directly
no test coverage detected