Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolDecoder ¶
BoolDecoder implements config parsing for maybe.Bool
Types ¶
type Bool ¶
func BoolFromNilable ¶ added in v0.27.0
func (Bool) IsFalseOrUndefined ¶
func (Bool) IsStrictlyFalse ¶
func (Bool) IsTrueOrUndefined ¶
func (Bool) IsUndefined ¶
type Duration ¶ added in v0.27.0
Duration implements Optional[time.Duration]
func SetDuration ¶ added in v0.27.0
SetDuration returns a maybe.Duration with value
type Optional ¶
type Optional[T any] struct { // contains filtered or unexported fields }
func (Optional[T]) MarshalJSON ¶
func (*Optional[T]) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.