Documentation ¶
Index ¶
- func CheckProcessExist(pid int) bool
- func CopyFile(source, destination string) error
- func CopyFolder(source, destination string) error
- func DownloadFile(filepath string, url string) error
- func Exists(path string) bool
- func GetExecDirectory() string
- func IsHiddenDirectory(path string) bool
- func PrettyPrint(arr [][]string)
- func SubDir(folder string) ([]string, error)
- func Unzip(src string, dest string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckProcessExist ¶
CheckProcessExist 检查进程pid是否存在,如果存在的话,返回true
func DownloadFile ¶
DownloadFile will download a url to a local file. It's efficient because it will write as it downloads and not load the whole file into memory.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.