mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2024-12-28 00:19:55 +00:00
ce36f8d1b4
Move generation of the init function that registers all the types in a file into a single function. Take some care to generate the registrations in the same order as the previous protoc-gen-go, to make it easier to catch unintended differences in output. For the same reason, adjust the order of generation to generate all enums before all messages (matches previous behavior). Change-Id: Ie0d574004d01a16f8d7b10be3882719a3c41676e Reviewed-on: https://go-review.googlesource.com/135359 Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com> |
||
---|---|---|
.. | ||
protoc-gen-go |