mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-01-01 03:14:16 +00:00
8cfc14f022
To assist users in migrating from github.com/golang/protobuf to google.golang.org/protobuf, make it such that functiionality like proto.Marshal doesn't panic on nil interfaces. Similar to how the new implementation treats a typed nil message as an empty message, we treat a nil interface as being equivalent to an "untyped" empty message. Change-Id: Ic037f386f855b122f732b34d370e524b7c0d76f1 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/228837 Reviewed-by: Damien Neil <dneil@google.com> |
||
---|---|---|
.. | ||
protojson | ||
prototext | ||
protowire | ||
bench_test.go |