cannot find module providing package gopkg.in/unrolled/render.v1
Opened this issue · 2 comments
JDChi commented
When I use go get -u github.com/pjebs/restgate
, I got such result:
github.com/pjebs/restgate imports
gopkg.in/unrolled/render.v1: cannot find module providing package gopkg.in/unrolled/render.v1
pjebs commented
Can you try it again. I believe gopkg server might have been down:
I just tried it now and it worked:
pjebs@pjebs-Mac-mini test % go get -u github.com/pjebs/restgate
go: downloading github.com/pjebs/restgate v0.0.0-20200504001537-fd9a58a4fe75
go: downloading gopkg.in/unrolled/render.v1 v1.0.0
go: downloading github.com/pjebs/jsonerror v0.0.0-20190614034432-63ef9a8df848
go: added github.com/pjebs/jsonerror v0.0.0-20190614034432-63ef9a8df848
go: added github.com/pjebs/restgate v0.0.0-20200504001537-fd9a58a4fe75
go: added gopkg.in/unrolled/render.v1 v1.0.0
JDChi commented
Can you try it again. I believe gopkg server might have been down:
I just tried it now and it worked:
pjebs@pjebs-Mac-mini test % go get -u github.com/pjebs/restgate go: downloading github.com/pjebs/restgate v0.0.0-20200504001537-fd9a58a4fe75 go: downloading gopkg.in/unrolled/render.v1 v1.0.0 go: downloading github.com/pjebs/jsonerror v0.0.0-20190614034432-63ef9a8df848 go: added github.com/pjebs/jsonerror v0.0.0-20190614034432-63ef9a8df848 go: added github.com/pjebs/restgate v0.0.0-20200504001537-fd9a58a4fe75 go: added gopkg.in/unrolled/render.v1 v1.0.0
Thanks for your replied. But it still not work for me.
So I clone your code and change the import which "gopkg.in/unrolled/render"
to "github.com/unrolled/render"
, it works.