Options for Golang support.
Config section: <span style="color: purple"><code>[golang]</code></span>
## Basic options
<div style="color: purple"> <h3><code>go_search_paths</code></h3> <code>--golang-go-search-paths="['<str>', '<str>', ...]"</code><br> <code>PANTS_GOLANG_GO_SEARCH_PATHS</code><br> </div> <div style="padding-left: 2em;"> <span style="color: green">default: <pre>[ "<PATH>" ]</pre></span>
<br>
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 '<PATH>' will expand to the contents of the PATH env var.
</div> <br>
<div style="color: purple"> <h3><code>expected_version</code></h3> <code>--golang-expected-version=<str></code><br> <code>PANTS_GOLANG_EXPECTED_VERSION</code><br> </div> <div style="padding-left: 2em;"> <span style="color: green">default: <code>1.17</code></span>
<br>
The Go version you are using, such as `1.17
`.
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.
</div> <br>
## Advanced options
None
## Deprecated options
None