Documentation
¶
Index ¶
- func Autowire[T any](c *Container, s T) T
- func Invoke[T any](c *Container) (T, error)
- func InvokeNamed[T any](c *Container, name string) (T, error)
- func MustInvoke[T any](c *Container) T
- func MustInvokeNamed[T any](c *Container, name string) T
- func ProvideLazy[T any](c *Container, provider Provider, name ...string)
- func ProvideNew[T any](c *Container, provider Provider, name ...string)
- func ProvideValue[T any](c *Container, value T, name ...string)
- type Container
- type Provider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustInvoke ¶
func MustInvokeNamed ¶
func ProvideValue ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.