Versions in this module Expand all Collapse all v0 v0.0.1 Aug 8, 2022 Changes in this version + func CheckErrOrFatal(err error) + func FormatJson(b []byte) (string, error) + func FormatJsonStr(src string) (string, error) + func GetMyIp() (string, error) + func GetServerStatus() (*system_status.SystemStatus, error) + func GetWords(target string) map[string]bool + func HostName() (string, error) + func HostnameOrFatal() string + func IsTargetIn(target string, list []string) bool + func JsonString(v interface{}) string + func JsonStringError(v interface{}) (string, error) + func MD5(str []byte) string + func MD5File(filepath string) (string, error) + func MD5Salt(str, salt string) string + func Must(err error) + func OutputJsonString(v interface{}) + func QuitListen() + func QuitWatch() + func SaveMapInCurrentWorkDir(name string, m interface{}) error + func StrMd5(str string) string