Options for Golang support.
[ "<PATH>" ]
A list of paths to search for Go.
Specify absolute paths to directories with the
go binary, e.g.
/usr/bin. Earlier entries will be searched first.
The special string '' will expand to the contents of the PATH env var.
The Go version you are using, such as
Pants will only use Go distributions from
--go-search-paths that have the expected version, and it will error if none are found.
Do not include the patch version.
--golang-subprocess-env-vars="['<str>', '<str>', ...]"
[ "LANG", "LC_CTYPE", "LC_ALL", "PATH" ]
Environment variables to set when invoking the
go tool. Entries are either strings in the form
ENV_VAR=value to set an explicit value; or just
ENV_VAR to copy the value from Pants's own environment.
Updated 5 months ago