Documentation ¶
Index ¶
Constants ¶
View Source
const ( // AppName is shown on notifications as application name AppName = "Start up" // TitleError is shown on notification as error title TitleError = "Error" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
Command wraps exec.Cmd and has some command execution method with notification
type Env ¶
Env is alias to map[string]string to express key-value structure of environment variables
type Option ¶
type Option func(*Command)
Option is functional option for Command
func OptionStdout ¶
OptionStdout returns functional option with given io.Writer to replace Cmd.Stdout
func OptionWorkingDir ¶
OptionWorkingDir returns functional option with given string describes woking directory to replace Cmd.Dir
Click to show internal directories.
Click to hide internal directories.