Documentation
¶
Index ¶
- func BcryptCheck(password, hash string) bool
- func BcryptHash(password string) string
- func ContainsString(items []string, item string) bool
- func ContainsUint(items []uint, item uint) bool
- func InterfaceArray2StringArray(array1 []interface{}) (array2 []string)
- func InterfaceArray2UintArray(array1 []interface{}) (array2 []uint, ok bool)
- func MD5(str []byte, b ...byte) string
- func NewRandStringRunes(n int) string
- func NewUUID() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsString ¶
ContainsString 字符串数组中是否包含某字符串
func InterfaceArray2StringArray ¶
func InterfaceArray2StringArray(array1 []interface{}) (array2 []string)
InterfaceArray2StringArray 将interface数组转换为字符串数组
func InterfaceArray2UintArray ¶
InterfaceArray2UintArray 将interface数组转换成uint数组
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.