You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> echo $GO111MODULE
on
> pwd
(subdir of GOPATH)
> go get -u github.com/davecgh/go-spew/spew
go: finding github.com/davecgh/go-spew/spew latest
go get github.com/davecgh/go-spew/spew: no matching versions for query "latest"
The text was updated successfully, but these errors were encountered:
I don't think you can use GO111MODULE=on inside a GOPATH workspace, can you? I think GO111MODULE=on is allowed only outside of GOPATH, and GO111MODULE=off or GO111MODULE=auto are allowed inside.
> pwd
[subdir of $GOPATH]
> go version
go version go1.14.3 freebsd/amd64
> go env GOMOD
[no output, e.g. no go.mod found]
> env GO111MODULE=on go env GOMOD
/dev/null
> env GO111MODULE=on go get -u github.com/davecgh/go-spew/spew
go: found github.com/davecgh/go-spew/spew in github.com/davecgh/go-spew v1.1.1
Repro steps
The text was updated successfully, but these errors were encountered: