Documentation ¶
Index ¶
- func CitizenNoInfo(idNo string) (birthday time.Time, sex string, address string, err error)
- func IsAccountName(accountName string) bool
- func IsObjectID(id string) bool
- func IsPassword(password string) bool
- func IsPayPassword(password string) bool
- func IsRealName(name string) bool
- func IsValidCitizenNo(idNo string) bool
- func IsValidMobilePhoneNumber(mobilePhoneNumber string) bool
- func IsValidUsername(username string) bool
- func IsVerifyEmailFormat(email string) bool
- func ValidateObjectID(fl validator.FieldLevel) bool
- func ValidatePhone(fl validator.FieldLevel) bool
- type Validator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CitizenNoInfo ¶
func IsAccountName ¶
func IsObjectID ¶
func IsPassword ¶
func IsPayPassword ¶
func IsRealName ¶
func IsValidCitizenNo ¶
func IsValidUsername ¶
func IsVerifyEmailFormat ¶
func ValidateObjectID ¶
func ValidateObjectID(fl validator.FieldLevel) bool
func ValidatePhone ¶
func ValidatePhone(fl validator.FieldLevel) bool
Types ¶
Click to show internal directories.
Click to hide internal directories.