Documentation
¶
Index ¶
- func All[T any](handler miruken.Handler, constraints ...any) (t []T, tp *promise.Promise[[]T], err error)
- func Key[T any](handler miruken.Handler, key any, constraints ...any) (t T, tp *promise.Promise[T], err error)
- func NewProvider(value any) miruken.Handler
- func Type[T any](handler miruken.Handler, constraints ...any) (T, *promise.Promise[T], error)
- func With(values ...any) miruken.BuilderFunc
- type Builder
- type For
- type ForGraph
- type It
- type Single
- type Strict
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProvider ¶
func With ¶
func With(values ...any) miruken.BuilderFunc
Types ¶
type Builder ¶
type Builder = miruken.ProvidesBuilder
type For ¶ added in v0.28.0
type For[T any] struct { // contains filtered or unexported fields }
For matches dependencies against a parent receiver.
Click to show internal directories.
Click to hide internal directories.