Versions in this module Expand all Collapse all v1 v1.0.3 May 3, 2020 v1.0.2 May 2, 2020 Changes in this version + const B + const GB + const InvalidChars + const KB + const MB + const PB + const TB + func ConvertFileSize(size int64, precision ...int) string + func IntToBool(i int) bool + func MustInt(s string) (n int) + func MustInt64(s string) (i int64) + func ParseFileSizeStr(ss string) (size int64, err error) + func ShortDisplay(s string, num int) string + func SliceInt64ToString(si []int64) (ss []string) + func SliceStringToInt(ss []string) (si []int) + func SliceStringToInt64(ss []string) (si []int64) + func ToBytes(str string) []byte + func ToBytesUnsafe(str string) []byte + func ToString(p []byte) string + func TrimPathInvalidChars(fpath string) string