mirror of
https://github.com/golang/go
synced 2024-11-18 11:34:45 -07:00
b43031a33b
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> |
||
---|---|---|
.. | ||
analysis.go | ||
cache.go | ||
check.go | ||
error_test.go | ||
errors.go | ||
keys.go | ||
load.go | ||
mod_tidy.go | ||
mod.go | ||
os_darwin.go | ||
os_windows.go | ||
parse_test.go | ||
parse.go | ||
pkg.go | ||
session.go | ||
snapshot.go | ||
view_test.go | ||
view.go |