Documentation
¶
Index ¶
- Constants
- func ValidateEmaiID(email_id int64) error
- func ValidateEmail(email string) error
- func ValidateFullName(full_name string) error
- func ValidatePassword(password string) error
- func ValidateSecretCode(secret_code string) error
- func ValidateString(str string, minLength int, maxLenth int) error
- func ValidateUsername(username string) error
Constants ¶
View Source
const ( MinUsernameLength = 3 MaxUsernameLength = 25 MinPasswordLength = 6 MaxPasswordLength = 50 MinEmailLength = 3 MaxEmailLength = 200 MinFullNameLength = 3 MaxFullNameLength = 100 )
Variables ¶
This section is empty.
Functions ¶
func ValidateEmaiID ¶
func ValidateEmail ¶
func ValidateFullName ¶
func ValidatePassword ¶
func ValidateSecretCode ¶
func ValidateUsername ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.