mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-01-26 09:35:33 +00:00
5e71dc95f2
Using a named fields gives us the flexibility to change the underlying representation of special fields without needing to regenerate user code. We add a named type for ExtensionFields, UnknownFields, and SizeCache. Change-Id: I107cf82899850ea76665310ce79def60f0f7ab97 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/172402 Reviewed-by: Damien Neil <dneil@google.com>