Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandExecutor ¶
type CommandExecutor interface {
Exec(name string, args ...string) ([]byte, error)
LookPath(file string) (string, error)
}
CommandExecutor interface for executing external commands and resolving binaries
type Executor ¶
type Executor struct{}
Executor implements CommandExecutor for real command execution
func NewExecutor ¶
func NewExecutor() *Executor
Click to show internal directories.
Click to hide internal directories.