Documentation ¶
Index ¶
- func Apply[T any, O Mutable[T]](opts T, options ...O)
- func ApplyAll[T any, O Mutable[T]](opts T, options []O)
- func Mut[T any, P ptr[T], I Immutable[T]](option func(P)) I
- func TryApply[T any, O Maybe[T]](opts T, options ...O) error
- func TryApplyAll[T any, O Maybe[T]](opts T, options []O) error
- func With[T any, O Immutable[T]](opts T, options ...O) T
- func WithAll[T any, O Immutable[T]](opts T, options []O) T
- type Immutable
- type Maybe
- type Mutable
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TryApplyAll ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.