Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateDate ¶
func ValidateDate(fl validator.FieldLevel) bool
ValidateDate checks if the the value is valid date format
func ValidatePhoneNumber ¶
func ValidatePhoneNumber(fl validator.FieldLevel) bool
ValidatePhoneNumber checks if the the value is valid phone number this validation must be used in a struct that has Region field
func ValidatePhoneNumberRegion ¶
func ValidatePhoneNumberRegion(fl validator.FieldLevel) bool
ValidatePhoneNumberRegion checks if the the value is valid region
func ValidateRfc3339Datetime ¶
func ValidateRfc3339Datetime(fl validator.FieldLevel) bool
ValidateRfc3339Datetime checks if the the value is valid RFC3339 format
Types ¶
Click to show internal directories.
Click to hide internal directories.