-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Fresh install no longer generates necessary google/api/annotations.pb.go
& google/api/http.pb.go
files.
#327
Comments
@marcusljx thank you for your issue report. can you share your full protoc invocation (privately if . needed) as you should get lines more like |
Just to be clear we intentionally moved to the published go code published at |
I'm having this very issue right now. How to fix it ? |
@dong77 thanks for chiming in -- if your generated go files have |
go get -u github.com/philips/grpc-gateway-example
grpc-gateway-example serve |
grpc-ecosystem/grpc-gateway#327 solve grpc-gateway/third_party/googleapis/google/api' has no buildable Go source files
its philips/grpc-gateway-example's makefile not update, my problem solved |
I opened philips/grpc-gateway-example#15 to reflect this change. |
As stated in the above makefile example, this was due to an outdated |
Fresh install no longer generates necessary
google/api/annotations.pb.go
&google/api/http.pb.go
files.Action
generate a proto project
someproject.pb.go
file, which containsExpected
annotations.pb.go
andhttp.pb.go
generated successfully injackfan.us.kg/grpc-ecosystem/grpc-gateway/third_party/googleapis/google/api
, and compilation completes properly.Actual
Files not generated, and compilation fails with the error:
The text was updated successfully, but these errors were encountered: