protobuf-go/protogen
Damien Neil d901677135 protogen: automatic handling of imports
The GoIdent type is now a tuple of import path and name. Generated files
have an associated import path. Writing a GoIdent to a generated file
qualifies the name if the identifier is from a different package.
All necessary imports are automatically added to generated Go files.

Change-Id: I839e0b7aa8ec967ce178aea4ffb960b62779cf74
Reviewed-on: https://go-review.googlesource.com/133635
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
2018-09-05 23:14:28 +00:00
..
testdata/go_package protogen, cmd/protoc-gen-go: initial commit 2018-08-22 17:08:04 +00:00
names_test.go protogen: automatic handling of imports 2018-09-05 23:14:28 +00:00
names.go protogen: automatic handling of imports 2018-09-05 23:14:28 +00:00
protogen_test.go protogen: automatic handling of imports 2018-09-05 23:14:28 +00:00
protogen.go protogen: automatic handling of imports 2018-09-05 23:14:28 +00:00