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