Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // errors TooShortErr = errors.New("input provided is too short") TooLongErr = errors.New("input provided is too long") )
Functions ¶
func CheckEmail ¶
CheckEmail checks if the provided email is valid. If it is valid, CheckEmail returns true.
func CheckLength ¶
CheckLength checks for the length of the input and returns an error if the length of the input is less than 8 or larger than 32.
func IsMatching ¶
IsMatching checks if the both values provided are equal. If both values are equal, it returns true.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.