pjebs / restgate

Secure Authentication for REST API endpoints.
MIT License
247 stars 23 forks source link

cannot find module providing package gopkg.in/unrolled/render.v1 #8

Open JDChi opened 1 year ago

JDChi commented 1 year ago

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 1 year ago

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 1 year ago

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.