databaseOut is the result of provideDatabaseOut. *gorm.DB is not a interface type. It is up to the users to define their own database repository interface.
| 92 | // databaseOut is the result of provideDatabaseOut. *gorm.DB is not a interface |
| 93 | // type. It is up to the users to define their own database repository interface. |
| 94 | type databaseOut struct { |
| 95 | di.Out |
| 96 | |
| 97 | Factory Factory |
| 98 | Collector *collector |
| 99 | } |
| 100 | |
| 101 | // Module implements di.Modular |
| 102 | func (d databaseOut) Module() interface{} { |
nothing calls this directly
no outgoing calls
no test coverage detected