mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-01-30 12:32:36 +00:00
613285cf7a
Simplify the implementation of makeStructInfo by checking the names of the internal fields in a switch statement. Also, add "weakFields" as the unexported name for weak fields in preparation for actually unexporting it. Change-Id: Ide970a39e9caa5a24bc288ba3e3a0d223a6bfcb6 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/207057 Reviewed-by: Damien Neil <dneil@google.com>