mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-02-23 15:40:45 +00:00
Add option to marshal out all fields including unset ones except for unset oneof fields and extension fields. This is to make V2 compatible with V1's EmitDefaults option. Change-Id: Ifa7bae48e82740b623c74f936bcbe9e66b11344a Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/193759 Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>