protobuf-go/cmd/protoc-gen-go/testdata/proto2
Joe Tsai d7e97bc71b cmd/protoc-gen-go: generate XXX_OneofWrappers instead of XXX_OneofFuncs
The marshaler, unmarshaler, and sizer functions are unused ever since
the underlying implementation was switched to be table-driven.
Change the function to only return the wrapper structs.

This change:
* enables generated protos to drop dependencies on certain proto types
* reduces the size of generated protos
* simplifies the implementation of oneofs in protoc-gen-go

Updates #708

Change-Id: I845c9009bc0236d1b51d34b014dc3e184303c0f2
Reviewed-on: https://go-review.googlesource.com/c/151357
Reviewed-by: Damien Neil <dneil@google.com>
2018-11-27 19:36:27 +00:00
..
enum.pb.go cmd/protoc-gen-go: generate XXX_OneofWrappers instead of XXX_OneofFuncs 2018-11-27 19:36:27 +00:00
enum.proto reflect/protoreflect: add FieldDescriptor.DefaultEnumValue method 2018-10-29 15:59:23 +00:00
fields.pb.go cmd/protoc-gen-go: generate XXX_OneofWrappers instead of XXX_OneofFuncs 2018-11-27 19:36:27 +00:00
fields.proto cmd/protoc-gen-go: re-escape default byte values 2018-10-22 17:14:19 +00:00
nested_messages.pb.go cmd/protoc-gen-go: generate XXX_OneofWrappers instead of XXX_OneofFuncs 2018-11-27 19:36:27 +00:00
nested_messages.proto go.mod: rename google.golang.org/proto as github.com/golang/protobuf/v2 2018-09-24 16:11:50 +00:00
proto2.pb.go cmd/protoc-gen-go: generate XXX_OneofWrappers instead of XXX_OneofFuncs 2018-11-27 19:36:27 +00:00
proto2.proto go.mod: rename google.golang.org/proto as github.com/golang/protobuf/v2 2018-09-24 16:11:50 +00:00