go get fails '...but does not contain package github.com/shurcooL/go/ctxhttp'
klauern opened this issue · comments
Nick Klauer commented
Attempting to go get -u github.com/shurcooL/githubv4
and it fails:
go: finding github.com/shurcooL/graphql latest
go: finding github.com/shurcooL/go latest
../../../go/pkg/mod/github.com/shurcoo!l/graphql@v0.0.0-20180223021221-8d3d310716de/graphql.go:10:2: module github.com/shurcooL/go@latest found (v0.0.0-20191216061654-b114cc39af9f), but does not contain package github.com/shurcooL/go/ctxhttp
Dmitri Shuralyov commented
What's your go env GOPROXY
value? Are you using a private proxy?
v0.0.0-20180223021221-8d3d310716de is an old version of module github.com/shurcooL/graphql
. The latest version no longer imports package github.com/shurcooL/go/ctxhttp
, see shurcooL/graphql@16b8864 from 2018.
Nick Klauer commented
Yeah, it must be that. I unset the GOPROXY
and it was able to download. I'm not sure we even had this proxy in place that long, though.