-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Cannot import any version above 3.0.0 using 'dep' package manager #349
Comments
It seems that it goes back deeper until version 3.1.0: (edited Gopkg.toml file to require the following versions of 'chi': "3.3", "3.2", "3.1")
|
@dandee chi/render was moved to github.com/go-chi/render at some point, perhaps this is the issue you're facing |
I know but I don't want to use go-chi/render. I wanted to get access to the most recent middleware so I tried to reference the most recent version of go-chi/chi and |
If you want to use older However, I strongly suggest to use the latest github.com/go-chi/chi and latest github.com/go-chi/render together. Is there anything in particular, that prevents you from switching? Also, I'd recommend using go modules (introduced in go1.11), they work much better than
What do you mean? Afaik, all dependencies work well. |
All right, so it turned out that it was my fault - there was some obscure file still referencing old renderer and it forced |
An application can import
chi
package usingdep
package manager only when requesting version '3.0.0' or '3'. When trying to request anything above this version an error occurs. For example I'm trying to get most recent (3.3.3) version pulled to get more middleware available and fail with the following:when I try to lower required version to 3.3.2 it still complains the same about missing subpackage "github.com/go-chi/chi/render" and fails.
The text was updated successfully, but these errors were encountered: