Documentation
¶
Index ¶
Constants ¶
View Source
const ( MinPasswordLength = 8 MaxPasswordLength = 72 MaxEmailLength = 254 )
Variables ¶
This section is empty.
Functions ¶
func ValidateEmail ¶
ValidateEmail returns true if email is non-empty, within length, and matches a simple format.
func ValidatePassword ¶
ValidatePassword returns true if password meets minimum length and is within bcrypt max.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.