Documentation ¶
Index ¶
- func Bind() inj.Bindings
- func Binders() *inj.BinderRegistry
- func DefaultTimeout() (context.Context, func())
- func DoTestMain(m *testing.M, init func())
- func Inject(fn any) []any
- func InjectOne(fn any) any
- func Injector() *inj.Injector
- func Provide(o any) any
- func ProvideArgs(fn any) []any
- func ProvideAs[T any](tags ...any) T
- func Register(bs ...inj.Binder) *inj.BinderRegistry
- func SetupInjector() (*inj.Injector, func() error)
- func TryProvide(o any) (any, bool)
- func WithDefaultTimeout(ctx context.Context) (context.Context, func())
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Binders ¶
func Binders() *inj.BinderRegistry
func DefaultTimeout ¶
func DoTestMain ¶
func ProvideArgs ¶
func SetupInjector ¶
func TryProvide ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.