Documentation
¶
Index ¶
Constants ¶
View Source
const (
CodeKey = "code"
)
View Source
const (
UsernameKey = "username"
)
Variables ¶
This section is empty.
Functions ¶
func ValidateCode ¶
func ValidateCode(fl validator.FieldLevel) bool
func ValidatePage ¶
func ValidatePage(sl validator.StructLevel)
func ValidateRedirect ¶
func ValidateRedirect(sl validator.StructLevel)
func ValidateUsername ¶ added in v0.0.3
func ValidateUsername(fl validator.FieldLevel) bool
ValidateUsername accepts either a code format (alphanumeric with _ and -) or a valid email address format
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.