protobuf-go/internal
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
..
cmd reflect/protoreflect: add Descriptor.Options method 2018-10-23 23:44:11 +00:00
detrand internal/detrand: new package for deterministically random functionality 2018-11-27 02:14:04 +00:00
encoding internal/detrand: new package for deterministically random functionality 2018-11-27 02:14:04 +00:00
errors internal/errors: initial commit 2018-08-02 18:28:47 +00:00
flags internal/flags: add package to control specialized functionality 2018-08-03 22:59:53 +00:00
impl cmd/protoc-gen-go: generate XXX_OneofWrappers instead of XXX_OneofFuncs 2018-11-27 19:36:27 +00:00
pragma internal/pragma: package to statically enforce certain properties 2018-08-06 21:47:01 +00:00
protogen/goldentest protogen: generate .meta file with code annotations 2018-10-16 17:22:41 +00:00
set internal/set: add set package for set data structures 2018-08-09 21:46:35 +00:00
testprotos/legacy internal/testprotos/legacy: initial commit 2018-11-13 22:37:52 +00:00
value reflect/protoreflect: clarify Get semantics on unpopulated fields 2018-11-27 19:13:59 +00:00