mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-01-01 03:14:16 +00:00
27ea64ff2c
A common mistake is to pass proto.Message to protoreflect.ValueOf instead of a protoreflect.Message. Specialize for this case and provide a panic message that is more helpful. Change-Id: I5def43341aa9607182edde309dea2823e61c1fdb Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/234117 Reviewed-by: Damien Neil <dneil@google.com> |
||
---|---|---|
.. | ||
methods.go | ||
proto_test.go | ||
proto.go | ||
source.go | ||
type.go | ||
value_pure.go | ||
value_test.go | ||
value_union.go | ||
value_unsafe.go | ||
value.go |