mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-04-15 23:42:22 +00:00
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>