Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNameRequired = errors.New("name is required.") ErrUserIdRequired = errors.New("UserId is required.") ErrEmailRequired = errors.New("Email is required.") ErrPasswordRequired = errors.New("Password is required.") ErrConfirmPasswordRequired = errors.New("ConfirmPassword is required.") ErrConfitmPasswordNotSame = errors.New("Password confirmation does not match.") ErrRoleRequired = errors.New("Role is required.") ErrEmailNotFound = errors.New("The email has not been registered.") ErrEmailAlready = errors.New("The email is already.") ErrPasswordIsIncorrent = errors.New("The password you entered is incorrect.") ErrRoleAlready = errors.New("The name role is already.") ErrPermissionAlready = errors.New("The name permission is already.") ErrUnsupportFile = errors.New("unsupport file type.") ErrTemplateAlready = errors.New("The name template is already.") EmailAddressVerified = errors.New("Your email address is verified.") EmailAddressUnverified = errors.New("Your email address is unverified.") TokenNotValid = errors.New("The token is not valid.") TokenHasExpired = errors.New("The token has expired.") UserNotFound = errors.New("User not found.") Locales = map[string]string{ "filled": "The :attribute field is required.", } )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.