Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Binary ¶
type Binary struct {
// Name of the package to build.
Target string
// Dir specifies the directory to save the binary in, and also the working
// directory when the binary runs. If unset, the working directory of the
// local process is used.
Dir string
// First part of the binary file name; the last part is generated randomly.
Prefix string
// Extra build flags
BuildFlags []string
// contains filtered or unexported fields
}
Binary includes the parameters for building (and running) a Go binary.
Click to show internal directories.
Click to hide internal directories.