Documentation ¶ Index ¶ func Command(args ...string) *exec.Cmd func List(path string) ([]string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Command ¶ func Command(args ...string) *exec.Cmd Command creates an exec.Cmd for running a Go command. The first argument is the Go subcommand (e.g., "build", "test"), followed by its arguments. func List ¶ func List(path string) ([]string, error) List runs 'go list' on a package path and returns the list of packages. Returns the packages found (one per line from stdout) and any error. If an error occurs, it includes a user-friendly error message. Types ¶ This section is empty. Source Files ¶ View all Source files go.go Click to show internal directories. Click to hide internal directories.