Documentation ¶
Index ¶
- Variables
- func AllDirsExist(paths ...string) bool
- func BaseDir() string
- func CommandExists(command string) bool
- func Debug(f string, t ...interface{})
- func Die(exitCode int, f string, t ...interface{})
- func EnablePgid(cmd *exec.Cmd)
- func Err(f string, t ...interface{})
- func IsDir(name string) bool
- func IsExist(path string) bool
- func IsFile(name string) bool
- func KillPgid(cmd *exec.Cmd) error
- func MkdirP(paths ...string) error
- func OpenUrlInBrowser(url string)
- func Out(f string, t ...interface{})
- func RespondsWithSuccess(url string) bool
- func TryConnect(host string, port int) bool
- func Unzip(src string, dest string) error
- func WaitUntilPortAttached(port int, message string)
- func WaitUntilResponseSuccess(url string, message string)
- type Java
- type JavaProps
Constants ¶
This section is empty.
Variables ¶
View Source
var EnableDebug bool = false
Functions ¶
func AllDirsExist ¶
func CommandExists ¶
func Die ¶
Exits with exitCode after printing message. Automatically selects STDOUT vs STDERR depending on value of exitCode
func EnablePgid ¶
func OpenUrlInBrowser ¶
func OpenUrlInBrowser(url string)
func RespondsWithSuccess ¶
func TryConnect ¶
func WaitUntilPortAttached ¶
Types ¶
type Java ¶
type Java struct { Home string // contains filtered or unexported fields }
Builds a `java` command invocation with a specific JAVA_HOME
func (*Java) Executable ¶
Click to show internal directories.
Click to hide internal directories.