Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Comp ¶ added in v0.0.17
type Comp[RawT Compilable[CompiledT], CompiledT any] struct { Raw *RawT // contains filtered or unexported fields }
func (*Comp[RawT, CompiledT]) Compile ¶ added in v0.0.17
func (c *Comp[RawT, CompiledT]) Compile() CompiledT
func (*Comp[RawT, CompiledT]) UnmarshalMapstructure ¶ added in v0.0.17
type Compilable ¶ added in v0.0.17
type Compilable[CompiledT any] interface { Compile() CompiledT }
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.