-
Notifications
You must be signed in to change notification settings - Fork 73
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
add go_package
, regenerate Go binding file
#22
Conversation
Thanks. I'll have a look ASAP. In the meantime, you could add the DCO, see https://github.com/probot/dco#how-it-works |
Signed-off-by: Flier Lu <flier.lu@gmail.com>
@flier which protoc version have you used to regenerate the Go files? I tried 3.3.0 and 3.6.0 and got quite different results each time. |
@beorn7 I use the
|
Weirdly, I have used 3.6.0, too (the newest released version), and still the output differs quite a lot. Anyway, I'll just merge this and then regenerate the go code again so that I don't flip back and forth during my own development. |
Thanks, the pre-generated code will fine, because I always regenerate it on the building :) |
full diff: prometheus/client_model@99fa1f4...v0.1.0 - prometheus/client_model#22 add `go_package`, regenerate Go binding file - prometheus/client_model#31 Support Go Modules - prometheus/client_model#38 Remove all languages but Go and add a deprecation note Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
full diff: prometheus/client_model@6f38060...v0.1.0 - prometheus/client_model#22 add `go_package`, regenerate Go binding file - prometheus/client_model#31 Support Go Modules - prometheus/client_model#38 Remove all languages but Go and add a deprecation note Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
full diff: prometheus/client_model@6f38060...v0.1.0 - prometheus/client_model#22 add `go_package`, regenerate Go binding file - prometheus/client_model#31 Support Go Modules - prometheus/client_model#38 Remove all languages but Go and add a deprecation note Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: 9c99f8b9b3d16e1975f07ae08f418949f76e4a02 Component: engine
full diff: prometheus/client_model@99fa1f4...v0.1.0 - prometheus/client_model#22 add `go_package`, regenerate Go binding file - prometheus/client_model#31 Support Go Modules - prometheus/client_model#38 Remove all languages but Go and add a deprecation note Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
When import the
metrics.proto
in a gRPC service definition, the protoc-gen-go will generate a wrong import path without the go_package