protobuf-go/protogen
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
..
testdata/go_package protogen, cmd/protoc-gen-go: initial commit 2018-08-22 17:08:04 +00:00
names_test.go protogen: simplify and fix naming derivation logic 2018-12-14 18:30:52 +00:00
names.go protogen: simplify and fix naming derivation logic 2018-12-14 18:30:52 +00:00
protogen_test.go cmd/protoc-gen-go: generate public imports by parsing the imported .pb.go 2019-01-03 21:46:42 +00:00
protogen.go cmd/protoc-gen-go: generate public imports by parsing the imported .pb.go 2019-01-03 21:46:42 +00:00