Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyOptions ¶
func ApplyOptions[T any](constructor OptionConstructor[T], cbs []OptionCallback[T]) T
Types ¶
type OptionCallback ¶
type OptionCallback[T any] func(*T)
type OptionConstructor ¶
type OptionConstructor[T any] func() T
Click to show internal directories.
Click to hide internal directories.