Skip to content

protoc-gen-go --version #598

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

Closed
stevenroose opened this issue May 10, 2018 · 1 comment
Closed

protoc-gen-go --version #598

stevenroose opened this issue May 10, 2018 · 1 comment

Comments

@stevenroose
Copy link

For a lot of projects, especially open-source ones, you want all contributors to use the same version of all the protobuf (and grpc) tools. Otherwise pull requests for small changes in proto files could potentially have huge changes in generated code if the contributor has a different version.

A good solution for this, is to provide a generation script within the project that contributors should use to generate the code. In this script, the version of the tools can be checked.

Currently, protoc --version gives you the version of protoc. It would be nice if protoc-gen-go could also somehow expose its version through a command. Preferably the same as protoc.

@dsnet
Copy link
Member

dsnet commented May 10, 2018

Closing as duplicate of #524.

@dsnet dsnet closed this as completed May 10, 2018
@golang golang locked and limited conversation to collaborators Jun 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants