Hi,
I have GOFLAGS=-mod=readonly in my environment to avoid unnoticed changes to go.mod and go.sum. However, I'm getting a weird error from the new in 1.16 "go install p@version" form to install a Go program:
$ go version
go version devel +2de7866470 Fri Dec 18 18:25:14 2020 +0000 darwin/amd64
$ cd $(mktemp -d)
Clearing GOFLAGS does work:
I can't explain the difference, nor the error. Can you? In case it makes a difference, I have a checkout of
gioui.org/cmd/gogio at the above revision where `go mod tidy` is a no-op.
Elias