-
Notifications
You must be signed in to change notification settings - Fork 366
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
Used for two different module paths error in go mod tidy #37
Comments
I had a quick look into your PR and I fear that you are stuck in the middle for now. The My best guess would be to switch back to the old dgrijalva import path and use replace. Then once, your transitive dependency also switches to the new import path, remove the replace and switch the import path. Not really a good solution, but it is probably the "safest". We probably should update the migration guide to reflect that you could run into this kind of problem with other transitive dependencies. |
Same here. I only run
I'm not sure why it tries to download v1.0.2 ( I also try to replace import paths in my code with
I'm wondering if #30 could help. Btw, I'm using Go 1.16.6:
|
I'm sorry I used the wrong repository name. This worked for me:
|
Ye, I don't know if there is a better solution here when using the I haven't been keeping a close eye on modules, but I think there is some work by @bcmills and the Go team to address such issues in 1.17 and/or 1.18 |
@turkenh @jkawamoto We just landed module support, so I'd suggest dropping the Closing this issue. Feel free to continue commenting and/or create a new issue. |
What's changed and what's your intention? - And more specifically, I want to use bzpop<max|min|null>, <z|s>intercard, zmpop go APIs to write some go-unit tests for supporting more commands from `zset` or `set` in `kvrocks`. These commands from redis(version >= 6.2) are not implemented in this project. - Due to redis/go-redis#2560 (comment), we should use `replace` in `go.mod` or change `"github.com/go-redis/redis/v9"` from import-blocks in go files. The latter is more similar to contribsys/faktory@4454c4a and I prefer to try this based on golang-jwt/jwt#37 (comment).
I am trying to follow the steps in the migration guide however, I am getting the following error with
go mod tidy
:Here is the PR: upbound/universal-crossplane#167
Any ideas how to fix that?
The text was updated successfully, but these errors were encountered: