Documentation
¶
Overview ¶
Package dikit do
Index ¶
- Variables
- func Add[T any](c *Container, name string, b Builder[T]) error
- func AddValue[T any](c *Container, name string, value T) error
- func Close(c *Container, name string) error
- func Find[T any](c *Container, fn func(string) bool) ([]T, error)
- func Get[T any](c *Container, name string) (T, error)
- type Builder
- type Container
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrFactoryNotFound = errors.Sentinel("factory not found")
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.