mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-01-01 11:58:21 +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> |
||
---|---|---|
.. | ||
descriptor.go | ||
placeholder_type.go | ||
placeholder.go | ||
protofile_desc.go | ||
protofile_list_gen.go | ||
protofile_list.go | ||
protofile_type.go | ||
protofile.go | ||
standalone_type.go | ||
standalone.go | ||
stringer.go | ||
type_test.go | ||
validate.go |