Documentation
¶
Index ¶
- func Exists(path string) (bool, error)
- func GetCmdOutput(command string, args ...string) []string
- func GetOrigin() (*dto.Origin, error)
- func GetParams(regEx, url string) (paramsMap map[string]string)
- func Round(a float64) int
- func SafeShell(command string, callback Callback)
- func SafeShellEx(command string, callback Callback, arg ...string)
- func Shell(command string, callback Callback)
- func ShellEx(command string, callback Callback, arg ...string)
- type Callback
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetParams ¶
*
- Parses url with the given regular expression and returns the
- group values defined in the expression. *
func SafeShellEx ¶
SafeShellEx - safe shell executor with arguments
Types ¶
Click to show internal directories.
Click to hide internal directories.