protobuf-go/go.mod
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

8 lines
233 B
Modula-2

module github.com/golang/protobuf/v2
require (
github.com/golang/protobuf v1.2.1-0.20181127190454-8d0c54c12466
github.com/google/go-cmp v0.2.1-0.20181101181452-745b8ec83783
golang.org/x/tools v0.0.0-20180904205237-0aa4b8830f48
)