Documentation ¶
Index ¶
- func DirExist(path string) bool
- func FileExist(path string) bool
- func FileSize(file string) (size string)
- func FileSizeFormat(s int64) string
- func PathExist(path string) (int, error)
- func RealPath(path string, addSlash ...bool) (realPath string)
- func RealPathMkdir(path string, addSlash ...bool) string
- func Rmdir(path string, notIncludeSelf ...bool) (ok bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PathExist ¶
PathExist PathExist 1 exists and is a directory path, 2 exists and is a file path, 0 does not exist
func RealPathMkdir ¶ added in v0.0.19
RealPathMkdir get an absolute path, create it if it doesn't exist
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.