Documentation ¶
Index ¶
- Constants
- func Bytes(src string) []byte
- func IsBase64(src string) bool
- func IsEmail(src string) bool
- func IsHex(src string) bool
- func IsIPV4(src string) bool
- func IsIPV6(src string) bool
- func IsLowerCase(src string) bool
- func IsSnakCase(src string) bool
- func IsURL(src string) bool
- func IsUUID(src string) bool
- func IsUpperCase(src string) bool
- func Length(src string, tps ...charType) int
- func MD5(src []byte, salt ...[]byte) string
- func NewCharType(tp string) charType
- func Sha1(src []byte, salt ...[]byte) string
- func Sha256(src []byte, salt ...[]byte) string
- func Sha512(src []byte, salt ...[]byte) string
- func String(bt []byte) string
Constants ¶
View Source
const ( CharTypeASCII charType = "ascii" CharTypeUTF8 = "utf8" CharTypeUTF16 = "utf16" CharTypeGBK = "gbk" )
Variables ¶
This section is empty.
Functions ¶
func IsLowerCase ¶
func IsSnakCase ¶
func IsUpperCase ¶
func NewCharType ¶
func NewCharType(tp string) charType
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.