protobuf-go/runtime
Joe Tsai 705acadcc7 proto: reset message by default in Unmarshal
We change Unmarshal to reset a message by default.
* We add a Merge option to UnmarshalOptions for explicit merging.
* We speed up Reset by checking for the Reset method.
* Remove TODOs in prototext and protojson about reset behavior.

Fixes golang/protobuf#890

Change-Id: Ibd8963c741053f564acf061fbdb846699942109c
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/195457
Reviewed-by: Damien Neil <dneil@google.com>
2019-09-17 21:13:42 +00:00
..
protoiface proto: reset message by default in Unmarshal 2019-09-17 21:13:42 +00:00
protoimpl internal/impl: move filetype.EnumInfo to impl 2019-09-16 22:07:05 +00:00