Versions in this module Expand all Collapse all v1 v1.1.3 Feb 2, 2021 Changes in this version + var PathError = errcode.NewError(baseCode + 1, "路径异常:") + func FormatCommunicationRate(fileSize float64) (size string) + func FormatFileSize(fileSize uint64) (size string) + func GbkToUtf8(str []byte) (b []byte, err error) + func GetAllFile(pathname string) []string + func IsDir(path string) (bool, error) + func PathExists(path string) (bool, error) + func Pause() + func StrToGBK(str string) (string, error) + func StrToUtf8(str string) (string, error) + func Utf8ToGbk(str []byte) (b []byte, err error)