Documentation ¶
Index ¶
- Variables
- func CompileFromSource(path string, outFile string) error
- func DirCopy(srcdir, destdir string, info os.FileInfo) error
- func DownloadFile(path string, url string, executable bool) error
- func DownloadGit(path string, url string, version string) error
- func DownloadJSON(url string, data interface{}) error
- func FileCopy(src, dest string, info os.FileInfo) error
- func GenCopy(src, dest string, info os.FileInfo) error
- func Unzip(src string, dest string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrFileNotExist = errors.New("file does not exist")
ErrFileNotExist means a file does not exist
Functions ¶
func CompileFromSource ¶ added in v0.8.0
CompileFromSource compiles a go program
func DownloadFile ¶
DownloadFile a file using http
func DownloadGit ¶ added in v0.8.0
DownloadGit clones a git repo
func DownloadJSON ¶ added in v0.8.0
DownloadJSON file from the internet to a data object
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.