Documentation ¶
Index ¶
- func Base64(s string) string
- func ClearChineseText(text string, punctuationMap map[rune]rune) string
- func ClearPersonName(s string) string
- func CnBrackets(content string) (rsp string)
- func CosineSimilarity(a, b string) float64
- func EnBrackets(content string) (rsp string)
- func GetHans(str string) string
- func HasHan(str string) bool
- func HiddenMiddle(content string, bothLen int) string
- func HmacSha1(key, message string) string
- func Md5(s string) string
- func Random(len int) string
- func RemoveNonPrintable(s string) string
- func Reverse(s string) string
- func Sha1(message string) string
- func Trim(content string) (str string)
- func UTF82GBK(src string) ([]byte, error)
- func VerifyEmailFormat(email string) bool
- func VerifyMobileFormat(mobileNum string) bool
- type SortHans
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func VerifyEmailFormat ¶
func VerifyMobileFormat ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.