Documentation ¶
Index ¶
- func DownloadFile(uri, filepath string) error
- func ExecCMD(dir, cmd string, env []string) (string, error)
- func ExtractTar(filename, path string) error
- func FindInFile(filepath, v string) bool
- func HTTPGet(uri string) ([]byte, error)
- func HTTPJson(uri string, v interface{}) error
- func MakeDir(path string) error
- func ValidateHash(filename, hash string) error
- func WriteFile(filepath string, v ...string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadFile ¶
DownloadFile download a file from the internet and save it to disk
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.