-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Package version dependency issue #3273
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
Comments
Hey @towithyou, long time no see! 🚀 Looks like the dependency gremlins are at it again, huh? 😄 I'm diving into your issue as we speak and will get back to you with a solution pronto! |
我们的服务调用 Google gcp api 时,他的包依赖 google.golang.org/[email protected], kratos 依赖 google.golang.org/[email protected]. 导致包引用冲突 go mod tidy |
To resolve the package reference conflict between Kratos v2.6.2, which depends on Here's how you can do it:
Your module github.com/go-kratos/kratos/v2
go 1.20
require (
// Your other dependencies...
)
replace google.golang.org/grpc v1.46.2 => google.golang.org/grpc v1.63.0 After adding the Note: Using the As for the specific features or functionalities that Kratos v2.6.2 utilizes from Regarding any known compatibility issues between I hope this helps! If you have any other questions or need further clarification, feel free to ask. Sources
|
Google has removed this package and can upgrade to the Kratos version |
Environment:
kratos -v
): kratos version v2.6.2go version
): go version go1.19 darwin/arm64cat /etc/os-release
): mac m2 arm64The text was updated successfully, but these errors were encountered: