Documentation ¶
Index ¶
- Variables
- func Cmd(cmd string, args ...string) error
- func CmdWithEnv(env []string, cmd string, args ...string) error
- func CopyFile(src, dst string) error
- func Echo(format string, args ...interface{})
- func EchoLn()
- func ErrorEcho(format string, args ...interface{})
- func Must(err error)
- func Now() string
- func OpenBrowser(url string) error
- func Path(elem ...string) string
- func RemoveFile(path string) error
- func ZipFile(src, zipPath string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Root = getRoot()
Functions ¶
func CmdWithEnv ¶
https://blog.kowalczyk.info/article/wOYk/advanced-command-execution-in-go-with-osexec.html
func OpenBrowser ¶
func RemoveFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.