protobuf-go/runtime
Joe Tsai 5e71dc95f2 cmd/protoc-gen-go: used named types for special fields
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>
2019-04-16 22:04:16 +00:00
..
protoiface proto: replace CachedSize fast-path method with UseCachedSize option 2019-04-08 05:14:36 +00:00
protoimpl cmd/protoc-gen-go: used named types for special fields 2019-04-16 22:04:16 +00:00
protolegacy runtime: expose protoimpl and protolegacy 2018-11-30 23:16:22 +00:00