Documentation
¶
Index ¶
- type Container
- func (c *Container) Bind(name string, concrete container.Concrete, shared bool)
- func (c *Container) Get(id string) (interface{}, error)
- func (c *Container) Has(id string) bool
- func (c *Container) Instance(name string, instance interface{})
- func (c *Container) Make(name string, value interface{}) error
- func (c *Container) MustGet(id string) interface{}
- func (c *Container) Singleton(name string, concrete container.Concrete)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.