Skip to content
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

Fix a complie error in generated go files #71

Merged
merged 2 commits into from
Dec 10, 2015

Conversation

yugui
Copy link
Member

@yugui yugui commented Dec 10, 2015

Fixes #67.

protoc-gen-go started to keep unused imports of .proto files.
So we need to map google/api/annotation.proto to a valid golang import path.

Another possible solution was to map the proto file to some harmless package,
e.g. "fmt". But it would be safer to map it to a valid path.

Regenerated files with github.com/golang/protobuf@68415e7123da32b07eab49c96d2c4d6158360e9b
Fixes #67.

protoc-gen-go started to keep unused imports of .proto files.
So we need to map google/api/annotation.proto to a valid golang import path.

Another possible solution was to map the proto file to some harmless package,
e.g. "fmt".  But it would be safer to map it to a valid path.
yugui added a commit that referenced this pull request Dec 10, 2015
Fix a complie error in generated go files
@yugui yugui merged commit 46d7d99 into master Dec 10, 2015
@yugui yugui deleted the feature/annotation-import-path branch February 4, 2016 04:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant