protobuf-go/cmd/protoc-gen-go
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
..
internal_gengo cmd/protoc-gen-go: used named types for special fields 2019-04-16 22:04:16 +00:00
testdata cmd/protoc-gen-go: used named types for special fields 2019-04-16 22:04:16 +00:00
annotation_test.go cmd/protoc-gen-go: perform some code cleanup 2019-04-01 20:44:00 +00:00
main.go internal/cmd/generate-protos: initial commit 2019-03-01 20:47:52 +00:00