Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckRegex ¶
func CheckRegex(fl validator.FieldLevel) bool
CheckRegex - check if a struct's field passes regex test
func CheckYesOrNo ¶
func CheckYesOrNo(fl validator.FieldLevel) bool
CheckYesOrNo - checks if a field on a struct is yes or no
func CheckYesOrNoOrUnset ¶
func CheckYesOrNoOrUnset(fl validator.FieldLevel) bool
CheckYesOrNoOrUnset - checks if a field is yes, no or unset
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.