Versions in this module Expand all Collapse all v0 v0.1.0 Sep 21, 2023 Changes in this version + func Array2Str(s interface{}) string + func CopyFields(a interface{}, b interface{}, fields ...string) (err error) + func FromBytes(bytes []byte) string + func GbkAsUtf8(str string) string + func GetBase64ByFile(path string) (string, error) + func GetRandomString(lens int) string + func IsContain(items []string, item string) bool + func IsEmail(b []byte) bool + func JobKey(taskId, serverId int) int + func LCS(s1 string, s2 string) string + func Md5(buf []byte) string + func SetPassword(len int, pwdO string) (pwd string, salt string) + func Struct2Map(obj interface{}) map[string]interface + func Struct2MapByTag(obj interface{}, tagName string) map[string]interface + func ToBytes(str string) []byte