v2 is not go gettable
myshkin5 opened this issue · comments
Dwayne Schultz commented
I got a 410 when attempting to go get hel:
go get -v -u github.com/nelsam/hel@v2.3.3
go: finding github.com v2.3.3
go: finding github.com/nelsam v2.3.3
go: finding github.com/nelsam/hel v2.3.3
go get github.com/nelsam/hel@v2.3.3: github.com/nelsam/hel@v2.3.3: reading https://proxy.golang.org/github.com/nelsam/hel/@v/v2.3.3.info: 410 Gone
I set GOPROXY
to direct
and got the following:
go get -v -u github.com/nelsam/hel@v2.3.3
go: finding github.com/nelsam/hel v2.3.3
go get github.com/nelsam/hel@v2.3.3: github.com/nelsam/hel@v2.3.3: invalid version: module contains a go.mod file, so major version must be compatible: should be v0 or v1, not v2
Thanks Sam!
Samuel Nelson commented
File under: modules suck :|
Unfortunately, you have to update your import paths and go get
commands to use github.com/nelsam/hel/v2
if you want to use version 2+.
Dwayne Schultz commented
Doh! I would call that one operator error!