Versions in this module Expand all Collapse all v0 v0.0.4 Jul 25, 2021 Changes in this version + func GenRandomString(source string, length uint) string + func GetHashID(key interface{}) uint64 + func GetHashIDMod(key interface{}, shard int) int + func GetHostIP() string + func GetProjectPath() (string, error) + func IsFileExist(filePath string) (bool, bool) + func Md5(str string) string + func ReadFileContent(filePath string) ([]byte, error) + func ReadYmlConfig(filePath string, result interface{}) error + func StructToMap(data interface{}) (map[string]interface{}, error)