Documentation
¶
Index ¶
- Constants
- func Abs(name string) string
- func AbsolutePath() string
- func Copy(src, dst string) error
- func CopyFile(src, dst string) error
- func DirIsNull(dirPath string) bool
- func IsDir(path string) bool
- func IsExist(f string) bool
- func MakeDir(_dir string) bool
- func ReadDir(path string) ([]string, error)
- func ReadFile(_file string) string
- func Rewrite(oldPath, newPath string) error
- func UnZip(zipFile, dstDir string) (string, error)
- func WriteFile(path, data string) bool
- func WriteFileAppend(path, data string) bool
- func Zip(srcFile string, destZip string) error
Constants ¶
View Source
const Home = "~"
View Source
const HomePath = Home + PathSeparator
View Source
const PathSeparator = string(filepath.Separator)
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.