Documentation ¶
Index ¶
- func IsApplicationNumber(value string) bool
- func IsBankAccountNumber(value string) error
- func IsCardNumber(value string) error
- func IsDocumentNumber(value string) bool
- func IsEmail(value string) error
- func IsLetterNumber(value string) error
- func IsNearbyTime(t time.Time, intervals ...time.Duration) error
- func IsPassword(value string) error
- func IsPhone(value string) error
- func IsTitle(value string) error
- func IsUsername(username string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsApplicationNumber ¶ added in v0.4.20
IsApplicationNumber 是否是申请号
func IsBankAccountNumber ¶
IsBankAccountNumber 是否是国内合法银行卡号
func IsDocumentNumber ¶ added in v0.4.20
IsDocumentNumber 是否是公开公告号
func IsNearbyTime ¶
IsNearbyTime 是否为附近的时间
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.