Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigurationName = di.TypeInstanceToName(config.ConfigurationStruct{})
ConfigurationName contains the name of data's config.ConfigurationStruct implementation in the DIC.
View Source
var DBClientInterfaceName = di.TypeInstanceToName((*interfaces.DBClient)(nil))
DBClientInterfaceName contains the name of the interfaces.DBClient implementation in the DIC.
Functions ¶
func ConfigurationFrom ¶
func ConfigurationFrom(get di.Get) *config.ConfigurationStruct
ConfigurationFrom helper function queries the DIC and returns datas's config.ConfigurationStruct implementation.
func DBClientFrom ¶
func DBClientFrom(get di.Get) interfaces.DBClient
DBClientFrom helper function queries the DIC and returns the interfaces.DBClient implementation.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.