Documentation ¶
Index ¶
- func AppendPath(rootPath string, paths ...string) string
- func DirExist(dir string) bool
- func FileExist(filename string) bool
- func GetImageFolderPath() string
- func GetUploadFolderPath() string
- func HomeDir(path string) (string, error)
- func PathExists(path string) bool
- func RandInt(min int, max int) int
- func RandMax(max int) int
- func RandString(length int) string
- func RandStringWithCharset(length int, charset string) string
- func ReadJSON(v interface{}, filename string) error
- func SliceToString(sl []string) string
- func SliceUnit64ToString(sl []uint64) string
- func StringToUnit64Arr(s string) []uint64
- func WriteJSON(v interface{}, filename string, force bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandStringWithCharset ¶
RandStringWithCharset rand string with charset
func SliceToString ¶
func SliceUnit64ToString ¶
func StringToUnit64Arr ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.