Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func Dereference ¶
func Dereference[T any](ptr *T) T
Dereference safely dereferences a pointer into the underlying value or the empty value for the type.
Types ¶
type Configurable ¶
type Configurable[T any] interface { Configurer[T] Validator[T] Merger }
type Configurer ¶
Configurer is a type which can configure itself based on the current invocation. Note that 'Configure' must *not* set default values as this method might be called prior to complete resolution of user inputs.
Click to show internal directories.
Click to hide internal directories.