protobuf-go/cmd/protoc-gen-go-grpc
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
..
internal_gengogrpc reflect/protoreflect: add Descriptor.Options method 2018-10-23 23:44:11 +00:00
testdata/grpc cmd/protoc-gen-go: generate XXX_OneofWrappers instead of XXX_OneofFuncs 2018-11-27 19:36:27 +00:00
golden_test.go test.bash: do not run golden tests by default 2018-10-16 16:49:18 +00:00
main.go cmd/protoc-gen-go-grpc: add gRPC code generator 2018-09-27 19:32:34 +00:00