Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NilSentinel ¶ added in v0.0.15
type NilSentinel struct{}
type Opt ¶
func (Opt[T]) OptOrEmpty ¶ added in v0.0.11
Returns optional.Value (if set) or fallback.Value (if set), else T empty is returned
func (Opt[T]) OptOrFallback ¶ added in v0.0.11
Returns optional.Value (if set) or fallback.Value
func (*Opt[T]) UnmarshalMapstructure ¶
func (Opt[T]) ValueOrFallback ¶ added in v0.0.11
func (optional Opt[T]) ValueOrFallback(fallback T) T
Returns optional.Value (if set) or fallback
Click to show internal directories.
Click to hide internal directories.