mirror of https://github.com/golang/go.git
Go 1.16 may set -mod=readonly by default. To maintain current behavior, gopls needs to override that by passing -mod=mod to all its go invocations. While this behavior should be safe on all modern versions of Go, I gated it on 1.16 just for safety's sake. Change-Id: Ic8088213d1ab9ab3a3ed0b51f47b2c222974d613 Reviewed-on: https://go-review.googlesource.com/c/tools/+/253799 Run-TryBot: Heschi Kreinick <heschi@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
|---|---|---|
| .. | ||
| analysisinternal | ||
| apidiff | ||
| event | ||
| fakenet | ||
| fastwalk | ||
| gocommand | ||
| gopathwalk | ||
| imports | ||
| jsonrpc2 | ||
| lsp | ||
| memoize | ||
| packagesinternal | ||
| proxydir | ||
| span | ||
| stack | ||
| testenv | ||
| tool | ||
| typesinternal | ||
| xcontext | ||