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
}
func (*Container) Invoke ¶
func (c *Container) Invoke(fn interface{}, opts ...InvokeOption) error
func (*Container) Provide ¶
func (c *Container) Provide(ctor interface{}, opts ...ProvideOption) error
type InvokeOption ¶
type InvokeOption interface { }
type ProvideOption ¶
type ProvideOption interface { }
ProviderOption a provideOption modifies the default behavior of Provide.
Click to show internal directories.
Click to hide internal directories.