Versions in this module Expand all Collapse all v1 v1.0.0 Aug 2, 2017 Changes in this version + var DefaultContainer = NewContainer() + type Container struct + func NewContainer() *Container + func (this *Container) Configure(name string, cfg interface{}) error + func (this *Container) ConfigureAll(cfg map[string]interface{}) error + func (this *Container) Create(cfg interface{}) (interface{}, error) + func (this *Container) Creator(cfg interface{}) (interface{}, error) + func (this *Container) Get(names ...string) (interface{}, error) + func (this *Container) GetContainer(name string) (*Container, error) + func (this *Container) Register(name string, creator Creator) + func (this *Container) Set(name string, instance interface{}) + type Creator func(cfg interface{}) (interface{}, error)