Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Validator ¶
type Validator struct { ValidatorHandler ValidatorHandler ErrorMessage string }
func New ¶
func New(validatorHandler ValidatorHandler, errorMessage string) *Validator
type ValidatorHandler ¶
func IsDate ¶
func IsDate() ValidatorHandler
func IsEmail ¶
func IsEmail() ValidatorHandler
func IsEqual ¶
func IsEqual(references ...string) ValidatorHandler
func IsNotEmpty ¶
func IsNotEmpty() ValidatorHandler
func IsNumber ¶
func IsNumber() ValidatorHandler
func IsV4UUID ¶
func IsV4UUID() ValidatorHandler
func Regexp ¶
func Regexp(pattern string) ValidatorHandler
Click to show internal directories.
Click to hide internal directories.