Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrEmptyProviders thrown when empty providers provided ErrEmptyProviders = errors.New("empty providers") )
Functions ¶
This section is empty.
Types ¶
type Box ¶
type Box struct {
// contains filtered or unexported fields
}
Box is handling dig container
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider handles constructor fn and options provided
func NewProvider ¶
func NewProvider(fn interface{}, opts ...dig.ProvideOption) Provider
NewProvider creates new provider that can be added to box
Click to show internal directories.
Click to hide internal directories.