-
Notifications
You must be signed in to change notification settings - Fork 277
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
[BUG] go module check update for buf package failed #3453
Comments
Hello, thanks for filing this issue. This is occurring because we added cpp_features.proto and java_features.proto files which do not have the That being said, if you are looking to work with well-known types and Go code, they are available already in the Go protobuf runtime: https://pkg.go.dev/google.golang.org/protobuf/types/[email protected]. I also noted that you are attempting to generate this with |
Thanks for the reply, I am indeed using FYI,this my is my current config
and
|
Ah okay, I see, thank you for providing this context! So if you are using the well-known types as a part of your proto definitions, you don't actually need to provide the
So unless you have a special use-case (as outlined in the README), you can simply remove that from your deps. |
So I did a little digging into your issue by checking your module on In this case, the easiest solution will be to remove your Let me know if this helps! |
After removing |
How to reproduce
https://sum.golang.org/lookup/buf.build/gen/go/protocolbuffers/wellknowntypes/connectrpc/[email protected]
Output
Expected Output
something like this
https://sum.golang.org/lookup/golang.org/x/[email protected]
Anything else?
No response
The text was updated successfully, but these errors were encountered: