mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2024-12-28 00:19:55 +00:00
781d6f396b
This CL adds the following helper options: func FilterEnum(protoreflect.Enum, cmp.Option) cmp.Option func FilterMessage(proto.Message, cmp.Option) cmp.Option func FilterField(proto.Message, protoreflect.Name, cmp.Option) cmp.Option func FilterOneof(proto.Message, protoreflect.Name, cmp.Option) cmp.Option func FilterDescriptor(protoreflect.Descriptor, cmp.Option) cmp.Option There is primarily exposing pre-existing functionality that the Ignore options were already depending on to operate. Change-Id: I44edf2ffa07de980a9ad3284525bfe3b45428d74 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/207177 Reviewed-by: Damien Neil <dneil@google.com> |
||
---|---|---|
.. | ||
protocmp | ||
prototest |