Documentation
¶
Overview ¶
Package validators contains valiators that checks the number format of the string specified as an option argument in command line arguments.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ValidateFloat32 func(storeKey, option, optArg string) error = validateFloat32
ValidateFloat32 is the function that validates an opton argument string whether it is valid as a float32 value. If the option argument is invalid, this function returns an OptionArgIsInvalid error.
var ValidateFloat64 func(storeKey, option, optArg string) error = validateFloat64
ValidateFloat64 is the function that validates an opton argument string whether it is valid as a float64 value. If the option argument is invalid, this function returns an OptionArgIsInvalid error.
var ValidateInt func(storeKey, option, optArg string) error = validateInt
ValidateInt is the function that validates an opton argument string whether it is valid as a int value. If the option argument is invalid, this function returns an OptionArgIsInvalid error.
var ValidateInt16 func(storeKey, option, optArg string) error = validateInt16
ValidateInt16 is the function that validates an opton argument string whether it is valid as a int16 value. If the option argument is invalid, this function returns an OptionArgIsInvalid error.
var ValidateInt32 func(storeKey, option, optArg string) error = validateInt32
ValidateInt32 is the function that validates an opton argument string whether it is valid as a int32 value. If the option argument is invalid, this function returns an OptionArgIsInvalid error.
var ValidateInt64 func(storeKey, option, optArg string) error = validateInt64
ValidateInt64 is the function that validates an opton argument string whether it is valid as a int64 value. If the option argument is invalid, this function returns an OptionArgIsInvalid error.
var ValidateInt8 func(storeKey, option, optArg string) error = validateInt8
ValidateInt8 is the function that validates an opton argument string whether it is valid as a int8 value. If the option argument is invalid, this function returns an OptionArgIsInvalid error.
var ValidateUint func(storeKey, option, optArg string) error = validateUint
ValidateUint is the function that validates an opton argument string whether it is valid as a uint value. If the option argument is invalid, this function returns an OptionArgIsInvalid error.
var ValidateUint16 func(storeKey, option, optArg string) error = validateUint16
ValidateUint16 is the function that validates an opton argument string whether it is valid as a uint16 value. If the option argument is invalid, this function returns an OptionArgIsInvalid error.
var ValidateUint32 func(storeKey, option, optArg string) error = validateUint32
ValidateUint32 is the function that validates an opton argument string whether it is valid as a uint32 value. If the option argument is invalid, this function returns an OptionArgIsInvalid error.
var ValidateUint64 func(storeKey, option, optArg string) error = validateUint64
ValidateUint64 is the function that validates an opton argument string whether it is valid as a uint64 value. If the option argument is invalid, this function returns an OptionArgIsInvalid error.
var ValidateUint8 func(storeKey, option, optArg string) error = validateUint8
ValidateUint8 is the function that validates an opton argument string whether it is valid as a uint8 value. If the option argument is invalid, this function returns an OptionArgIsInvalid error.
Functions ¶
This section is empty.
Types ¶
This section is empty.