mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-01-04 02:38:50 +00:00
be5348c905
Setup scaffolding for implementing unknown and extension fields. Add functions to MessageType to produce a protoreflect.KnownFields or protoreflect.UnknownFields from a message pointer. Within the implementation of known fields, delegate the logic to the underlying extension fields (which also implements protoreflect.KnownFields) if the field number is not found in the set of defined fields. Change-Id: I2c35f4cdf1c7b58727ce6a582861ef18b8d69a61 Reviewed-on: https://go-review.googlesource.com/c/144280 Reviewed-by: Damien Neil <dneil@google.com> |
||
---|---|---|
.. | ||
legacy_enum.go | ||
legacy_file.go | ||
legacy_message.go | ||
legacy_proto2_test.go | ||
legacy_proto3_test.go | ||
legacy_test.go | ||
message_field.go | ||
message_test.go | ||
message.go | ||
pointer_reflect.go | ||
pointer_unsafe.go |