Documentation
¶
Overview ¶
util
Index ¶
- Variables
- func GetCaptchaString(bytes []byte) string
- func HashAndSalt(text, salt string) string
- func HashPid(phone, email string, timestamp int64) string
- func IsBlank(originStr string) bool
- func LogError(err error, msg ...string)
- func MD5(text string) string
- func MD5AndSalt(text, salt string) string
- func PanicError(err error)
- func SHA512(text string) string
- type JsonResult
Constants ¶
This section is empty.
Variables ¶
View Source
var (
StringBlankPattern *regexp.Regexp
)
Functions ¶
func GetCaptchaString ¶
func HashAndSalt ¶
Types ¶
type JsonResult ¶
Click to show internal directories.
Click to hide internal directories.