mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2024-12-29 12:17:48 +00:00
23ddbd1430
Implement NewFileFromDescriptorProto, which constructs a protoreflect.FileDescriptor from a provided descriptor.FileDescriptorProto. Some other minor changes: * Allow calling Find and Range methods on nil *protoregistry.Files to match the behavior of maps where index operations are permitted, but store panics. * Switch protoregistry test to be protoregistry_test to avoid cyclic dependency. Change-Id: I5536901ef5096014a3421e63bc4a9dfcad335ea4 Reviewed-on: https://go-review.googlesource.com/132455 Reviewed-by: Damien Neil <dneil@google.com> |
||
---|---|---|
.. | ||
protoreflect | ||
protoregistry | ||
prototype |