Documentation ¶
Index ¶
- func AbosutePath(pth string) string
- func CopyFile(src, dst string) (int64, error)
- func Download(url string, dst string)
- func FileExist(path string) bool
- func GetExeDir() string
- func GetExtName(pathOrUrl string) string
- func GetFileName(pathOrUrl string) string
- func GetFileNameWithoutExt(pathOrUrl string) string
- func GetFilesFromParams(arguments []string) []string
- func GetWorkDir() string
- func GetZipSingleDir(path string) string
- func HTTPDownload(uri string) ([]byte, error)
- func IsAbosutePath(pth string) bool
- func IsDir(f string) bool
- func MkDirIfNeeded(dir string) error
- func ReadFile(filePath string) string
- func ReadFileBuf(filePath string) []byte
- func UpdateDir(pth string) string
- func Upload(url string, files []string, extraParams map[string]string)
- func WriteDownloadFile(dst string, d []byte) error
- func WriteFile(filePath string, content string)
- func ZipFiles(dist string, dir string, files []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AbosutePath ¶
func GetExtName ¶
func GetFileName ¶
func GetFileNameWithoutExt ¶
func GetFilesFromParams ¶
func GetWorkDir ¶
func GetWorkDir() string
func GetZipSingleDir ¶
func HTTPDownload ¶
func IsAbosutePath ¶
func MkDirIfNeeded ¶
func ReadFileBuf ¶
func WriteDownloadFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.