mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-01-17 01:12:51 +00:00
reflect/protoreflect: mention bidirectional conversion of protodesc
Expand the mention of the protodesc package to indicate that it can construct protoreflect.Descriptors from the descriptor messages, but also convert a protoreflect.Descriptor back to the message form. Change-Id: I9f3d75c6050fff603655ee0a4e8e29d0a2c0cf84 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/221611 Reviewed-by: Damien Neil <dneil@google.com>
This commit is contained in:
parent
7650ca0905
commit
d824637fdf
@ -22,8 +22,9 @@
|
||||
//
|
||||
// The protobuf descriptor interfaces are not meant to be implemented by
|
||||
// user code since they might need to be extended in the future to support
|
||||
// additions to the protobuf language. Protobuf descriptors can be constructed
|
||||
// using the "google.golang.org/protobuf/reflect/protodesc" package.
|
||||
// additions to the protobuf language.
|
||||
// The "google.golang.org/protobuf/reflect/protodesc" package converts between
|
||||
// google.protobuf.DescriptorProto messages and protobuf descriptors.
|
||||
//
|
||||
//
|
||||
// Go Type Descriptors
|
||||
|
Loading…
Reference in New Issue
Block a user