Modular is a special interface. A type implements Modular to indicate it contains a valid core module. This property is examined and executed by the core.Provide in package core. Other than that, the interface bears no further meaning. If the module is not a by-product of dependency construction vi
| 7 | // If the module is not a by-product of dependency construction via core.Provide, |
| 8 | // then there is no need to use this mechanism. |
| 9 | type Modular interface { |
| 10 | // Module returns a core module |
| 11 | Module() interface{} |
| 12 | } |
| 13 | |
| 14 | // Deps is a set of providers grouped together. This is used by core.Provide |
| 15 | // method to identify provider sets. |
no outgoing calls
no test coverage detected