Documentation
¶
Index ¶
- Constants
- func Camel2Case(name string) string
- func Case2Camel(name string) string
- func Cut(str, begin, end string) string
- func Escape(str string) string
- func IsEmail(email string) bool
- func IsPhone(phone string) bool
- func IsURL(str string) bool
- func MD5(str string) string
- func Random(length int) string
- func RandomN(length int) string
- func SHA256(str string) string
- func SHA3(str string) string
- func Substr(str string, start int, length ...int) string
Constants ¶
View Source
const ( Letters = "1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" Numbers = "0123456789" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.