protobuf-go/cmd
Damien Neil 7bf3ce2145 cmd/protoc-gen-go: generate public imports by parsing the imported .pb.go
Rather than explicitly enumerating the set of symbols to import,
just parse the imported file and extract every exported symbol.

This is possibly a bit more code, but adapts much better to future
expansion.

Change-Id: I4429664f4c068a2a55949d46aefc19865b008a77
Reviewed-on: https://go-review.googlesource.com/c/155677
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
2019-01-03 21:46:42 +00:00
..
protoc-gen-go cmd/protoc-gen-go: generate public imports by parsing the imported .pb.go 2019-01-03 21:46:42 +00:00
protoc-gen-go-grpc cmd/protoc-gen-go-grpc: fix camel-casing of names in generated code 2018-12-11 19:20:28 +00:00