Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FuncOption ¶ added in v0.0.4
type FuncOption[T any] struct { // contains filtered or unexported fields }
func NewFuncOption ¶ added in v0.0.4
func NewFuncOption[T any](f func(*T)) *FuncOption[T]
func (*FuncOption[T]) Apply ¶ added in v0.0.4
func (fo *FuncOption[T]) Apply(o *T)
Click to show internal directories.
Click to hide internal directories.