mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-01-01 11:58:21 +00:00
835b271169
Add a way to typecheck a Value or interface{} without converting it to the other form. This permits implementations which store field values as a Value (such as dynamicpb, or (soon) extensions in generated messages) to validate inputs without an unnecessary conversion. Fixes golang/protobuf#905 Change-Id: I1b78612b22ae832efbb55f81ae420871729e3a02 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/192457 Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com> |
||
---|---|---|
.. | ||
proto_test.go | ||
proto.go | ||
source.go | ||
type.go | ||
value_pure.go | ||
value_test.go | ||
value_union.go | ||
value_unsafe.go | ||
value.go |