Versions in this module Expand all Collapse all v1 v1.0.0 Apr 18, 2024 Changes in this version + const TimeFormat + func CreateToken(userId string, secretString string) string + func EncodePassword(password string) string + func FileIsExisted(filename string) bool + func Get16MD5Encode(data string) string + func GetMD5Encode(data string) string + func GetRandomString(n int) string + func GetUuid() string + func GetUuidV4() string + func IsDir(name string) bool + func MakeDir(dir string) error + func ParseToken(tokenString string, secretString string) (string, error) + func VerifyPassword(plainPwd string, hashedPwd string) bool + func VerifyToken(tokenString string, secretString string) bool + type LocalTime struct + func (t *LocalTime) Scan(v interface{}) error + func (t *LocalTime) UnmarshalJSON(data []byte) (err error) + func (t LocalTime) MarshalJSON() ([]byte, error) + func (t LocalTime) Value() (driver.Value, error)