command

package
v0.0.0-...-322e9a8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

type Executor struct {
	Stdout io.Writer
	Stderr io.Writer
}

func (Executor) Exec

func (e Executor) Exec(name string, arg ...string) error

func (Executor) Run

func (e Executor) Run(name string, arg ...string) (string, error)

type Runner

type Runner interface {
	Exec(string, ...string) error
	Run(string, ...string) (string, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL