Documentation ¶
Index ¶
- func ErrorCastingFailure(qualifier string) error
- func ErrorNilContext(qualifier string) error
- func ErrorNotInjected(qualifier string) error
- func ErrorResolveLoop(qualifier string) error
- func GetAll[T any](ctx context.Context, qualifier string) ([]T, error)
- func GetLast[T any](ctx context.Context, qualifier string) (T, error)
- func Register(qualifier string, injector Injector)
- func Release()
- func Reset()
- type Injector
- type QualifierContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorCastingFailure ¶
func ErrorNilContext ¶
func ErrorNotInjected ¶
func ErrorResolveLoop ¶
Types ¶
type QualifierContext ¶
type QualifierContext struct {
Name string
}
func Qualifier ¶
func Qualifier(name string) QualifierContext
Click to show internal directories.
Click to hide internal directories.