Versions in this module Expand all Collapse all v1 v1.4.0 Jun 16, 2018 Changes in this version + const App + const Request + const SubRequest + type BasicLogger struct + func (l *BasicLogger) Error(args ...interface{}) + type Builder struct + Logger Logger + func NewBuilder(scopes ...string) (*Builder, error) + func (b *Builder) AddDefinition(def Definition) error + func (b *Builder) Build() Container + func (b *Builder) Definitions() map[string]Definition + func (b *Builder) IsDefined(name string) bool + func (b *Builder) Scopes() []string + func (b *Builder) Set(name string, obj interface{}) error + type Container interface + Clean func() + Definitions func() map[string]Definition + Delete func() + DeleteWithSubContainers func() + DeleteWithSubContexts func() + Fill func(name string, dst interface{}) error + Get func(name string) interface{} + IsClosed func() bool + NastyFill func(name string, dst interface{}) error + NastyGet func(name string) interface{} + NastySafeGet func(name string) (interface{}, error) + Parent func() Container + ParentScopes func() []string + SafeGet func(name string) (interface{}, error) + Scope func() string + Scopes func() []string + SubContainer func() (Container, error) + SubContext func() (Container, error) + SubScopes func() []string + UnscopedFill func(name string, dst interface{}) error + UnscopedGet func(name string) interface{} + UnscopedSafeGet func(name string) (interface{}, error) + type Context = Container + type Definition struct + Build func(ctn Container) (interface{}, error) + Close func(obj interface{}) + Name string + Scope string + Tags []Tag + type DefinitionMap map[string]Definition + func (m DefinitionMap) Copy() map[string]Definition + type Logger interface + Error func(args ...interface{}) + type MuteLogger struct + func (l *MuteLogger) Error(args ...interface{}) + type ScopeList []string + func (l ScopeList) Copy() ScopeList + func (l ScopeList) ParentScopes(scope string) ScopeList + func (l ScopeList) SubScopes(scope string) ScopeList + type Tag struct + Args map[string]string + Name string