mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-02-21 09:40:03 +00:00
Always generate the init func containing the proto.RegisterFile call. This call used to be in a different init func which was unconditionally generated. Consolidating the init funcs means that we need to always generate the single remaining func. Change-Id: Icbf7d14d018d693dab2824f114c57e4e36384568 Reviewed-on: https://go-review.googlesource.com/c/156197 Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>