Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilteredString ¶
FilteredString is a wrapper around string values that can be null/default or an actual value. Use IsSet to check if the value is provided, instead of checking against the empty string.
func (*FilteredString) ParseValue ¶
func (n *FilteredString) ParseValue(val string)
ParseValue is used to parse a user provided flag argument.
type NullInt ¶
NullInt is a wrapper around integer values that can be null or an integer. Use IsSet to check if the value is provided, instead of checking against 0.
func (*NullInt) ParseFlagValue ¶
ParseFlagValue is used to parse a user provided flag argument.
func (*NullInt) UnmarshalJSON ¶
type NullUint64 ¶
NullUint64 is a wrapper around uint64 values that can be null or an unint64. Use IsSet to check if the value is provided, instead of checking against 0.
func (*NullUint64) ParseFlagValue ¶
func (n *NullUint64) ParseFlagValue(val string) error
ParseFlagValue is used to parse a user provided flag argument.
func (*NullUint64) UnmarshalJSON ¶
func (n *NullUint64) UnmarshalJSON(rawJSON []byte) error