Documentation ¶
Index ¶
- func From(typ interface{}) interface{}
- func FromVal[T any](v T) func() T
- type Invoke
- type Logger
- type Option
- func Annotate(typ, constructor interface{}) Option
- func ApplyIf(check func(s *Settings) bool, opts ...Option) Option
- func Error(err error) Option
- func If(b bool, opts ...Option) Option
- func Options(opts ...Option) Option
- func Override(typ, constructor interface{}) Option
- func Unset(typ interface{}) Option
- type Settings
- type StopFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
Option is a functional option which can be used with the New function to change how the node is constructed
Options are applied in sequence
Click to show internal directories.
Click to hide internal directories.