Documentation
¶
Index ¶
- func CompareHashPwd(p1, p2 string) bool
- func InList[ListType comparable](list []ListType, val ListType) bool
- func IsEmail(email string) bool
- func IsPhone(phone string) bool
- func MD5(in []byte) string
- func MD5ToUpper(in []byte) string
- func ParsePwd(password string) string
- func ToUint32(in string) uint32
- func Transform(in any, dst any) error
- type ListType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareHashPwd ¶
func InList ¶
func InList[ListType comparable](list []ListType, val ListType) bool
func MD5ToUpper ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.