Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go get errors #858

Closed
sammy007 opened this issue Sep 5, 2018 · 3 comments
Closed

Go get errors #858

sammy007 opened this issue Sep 5, 2018 · 3 comments

Comments

@sammy007
Copy link

sammy007 commented Sep 5, 2018

go get gopkg.in/redis.v6

../../go/src/gopkg.in/redis.v6/cluster.go:17:2: use of internal package github.com/go-redis/redis/internal not allowed
../../go/src/gopkg.in/redis.v6/ring.go:14:2: use of internal package github.com/go-redis/redis/internal/consistenthash not allowed
../../go/src/gopkg.in/redis.v6/cluster.go:18:2: use of internal package github.com/go-redis/redis/internal/hashtag not allowed
../../go/src/gopkg.in/redis.v6/cluster.go:19:2: use of internal package github.com/go-redis/redis/internal/pool not allowed
../../go/src/gopkg.in/redis.v6/cluster.go:20:2: use of internal package github.com/go-redis/redis/internal/proto not allowed
../../go/src/gopkg.in/redis.v6/cluster.go:21:2: use of internal package github.com/go-redis/redis/internal/singleflight not allowed
@vmihailenco
Copy link
Collaborator

That is a limitation of gopkg.in - use go get -u github.com/go-redis/redis

@sammy007
Copy link
Author

sammy007 commented Sep 5, 2018

So it's no longer possible to rely on v6 in import or it could be fixed somehow?

@vmihailenco
Copy link
Collaborator

AFAIK there is no way to fix gopkg.in to use internal package

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants