Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OptBooleanViperHook ¶
func OptBooleanViperHook() mapstructure.DecodeHookFuncType
Types ¶
type OptBooleanDefaultTrue ¶
type OptBooleanDefaultTrue struct {
// contains filtered or unexported fields
}
func Bool ¶
func Bool(val bool) OptBooleanDefaultTrue
func (*OptBooleanDefaultTrue) Get ¶
func (o *OptBooleanDefaultTrue) Get() bool
func (*OptBooleanDefaultTrue) MarshalJSON ¶
func (o *OptBooleanDefaultTrue) MarshalJSON() ([]byte, error)
func (OptBooleanDefaultTrue) MarshalYAML ¶
func (o OptBooleanDefaultTrue) MarshalYAML() (any, error)
func (*OptBooleanDefaultTrue) UnmarshalJSON ¶
func (o *OptBooleanDefaultTrue) UnmarshalJSON(data []byte) error
type TWithError ¶
Click to show internal directories.
Click to hide internal directories.