Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct {
// contains filtered or unexported fields
}
Container contains dependencies by name.
func (*Container) GetByType ¶
func (c *Container) GetByType(typ interface{}) interface{}
GetByType returns a dependency by type.
type Dependency ¶
type Dependency interface { Open() error Close() }
Click to show internal directories.
Click to hide internal directories.