protobuf-go/cmd/protoc-gen-go/testdata/imports
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
..
fmt cmd/protoc-gen-go: generate XXX_OneofWrappers instead of XXX_OneofFuncs 2018-11-27 19:36:27 +00:00
test_a_1 cmd/protoc-gen-go: generate XXX_OneofWrappers instead of XXX_OneofFuncs 2018-11-27 19:36:27 +00:00
test_a_2 cmd/protoc-gen-go: generate XXX_OneofWrappers instead of XXX_OneofFuncs 2018-11-27 19:36:27 +00:00
test_b_1 cmd/protoc-gen-go: generate XXX_OneofWrappers instead of XXX_OneofFuncs 2018-11-27 19:36:27 +00:00
test_import_a1m1.pb.go cmd/protoc-gen-go: generate XXX_OneofWrappers instead of XXX_OneofFuncs 2018-11-27 19:36:27 +00:00
test_import_a1m1.proto
test_import_a1m2.pb.go cmd/protoc-gen-go: generate XXX_OneofWrappers instead of XXX_OneofFuncs 2018-11-27 19:36:27 +00:00
test_import_a1m2.proto
test_import_all.pb.go cmd/protoc-gen-go: generate XXX_OneofWrappers instead of XXX_OneofFuncs 2018-11-27 19:36:27 +00:00
test_import_all.proto cmd/protoc-gen-go: generate blank imports for unused proto dependencies 2018-09-19 21:12:48 +00:00