Versions in this module Expand all Collapse all v1 v1.5.0 Jan 22, 2021 Changes in this version + var LogLeftArrow = func(arg1, arg2, arg3 string) + var LogRightArrow = func(arg1, arg2, arg3 string) + func GetByImpl(interfacePtr interface{}) (module interface{}, exist bool) + func GetByName(name ModuleName) (module interface{}, exist bool) + func GetByType(moduleType interface{}) (module interface{}, exist bool) + func Inject(ctrl interface{}) (allInjected bool) + func MustGetByImpl(interfacePtr interface{}) interface + func MustGetByName(name ModuleName) interface + func MustGetByType(moduleType interface{}) interface + func MustInject(ctrl interface{}) + func ProvideImpl(interfacePtr interface{}, moduleImpl interface{}) + func ProvideName(name ModuleName, module interface{}) + func ProvideType(module interface{}) + func SetLogger(logger Logger) + type LogLevel uint8 + const LogAll + const LogImpl + const LogInject + const LogName + const LogSilent + const LogType + type Logger interface + LogImpl func(interfaceTyp, moduleTyp string) + LogInject func(structTyp string, num int) + LogInjectField func(moduleName, structTyp, fieldName, fieldTyp string) + LogName func(moduleName, moduleTyp string) + LogType func(moduleTyp string) + func DefaultLogger(level LogLevel) Logger + type ModuleContainer struct + func NewModuleContainer() *ModuleContainer + func (m *ModuleContainer) GetByImpl(interfacePtr interface{}) (module interface{}, exist bool) + func (m *ModuleContainer) GetByName(name ModuleName) (module interface{}, exist bool) + func (m *ModuleContainer) GetByType(moduleType interface{}) (module interface{}, exist bool) + func (m *ModuleContainer) Inject(ctrl interface{}) (allInjected bool) + func (m *ModuleContainer) MustGetByImpl(interfacePtr interface{}) interface{} + func (m *ModuleContainer) MustGetByName(name ModuleName) interface{} + func (m *ModuleContainer) MustGetByType(moduleType interface{}) interface{} + func (m *ModuleContainer) MustInject(ctrl interface{}) + func (m *ModuleContainer) ProvideImpl(interfacePtr interface{}, moduleImpl interface{}) + func (m *ModuleContainer) ProvideName(name ModuleName, module interface{}) + func (m *ModuleContainer) ProvideType(module interface{}) + func (m *ModuleContainer) SetLogger(logger Logger) + type ModuleName string + func (m ModuleName) String() string