Documentation ¶
Index ¶
- func IsAlnum(str string) bool
- func IsDate(str string, format ...string) bool
- func IsEmail(str string) bool
- func IsEmpty(str string) bool
- func IsFloat(str string) bool
- func IsIn(str string, params ...string) bool
- func IsMobilePhone(str string) bool
- func IsNull(str string) bool
- func IsNumeric(str string) bool
- func IsURI(str string) bool
- func IsWord(str string, params ...int) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsDate ¶
add by hzwy23 IsDate check if the string is date ,the formatter support 2006-01-02 or 2006/01/02.
func IsEmpty ¶
add by hzwy23 IsEmpty check if the string contains any character, but spacing is invalid.
func IsMobilePhone ¶
add by hzwy23 IsMobilePhone check if the str is mobile phone number.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.