MCPcopy Create free account
hub / github.com/DoNewsCode/core / databaseOut

Struct databaseOut

otgorm/dependency.go:94–99  ·  view source on GitHub ↗

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.

Source from the content-addressed store, hash-verified

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.
94type databaseOut struct {
95 di.Out
96
97 Factory Factory
98 Collector *collector
99}
100
101// Module implements di.Modular
102func (d databaseOut) Module() interface{} {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected