mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2024-12-26 03:20:53 +00:00
reflect/protoreflect: use [] syntax to reference method
While godoc does not render comments within interface definitions, using the [] syntax regardless helps with the replacement rules we use to import Go Protobuf back into Google. Change-Id: I0287ec3df5ba74261f563ce1117ab1e1be1fc270 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/635138 Reviewed-by: Cassondra Foesch <cfoesch@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Damien Neil <dneil@google.com>
This commit is contained in:
parent
5376513e4b
commit
8edf9401bb
@ -152,7 +152,7 @@ type Message interface {
|
||||
// This method may return nil.
|
||||
//
|
||||
// The returned methods type is identical to
|
||||
// google.golang.org/protobuf/runtime/protoiface.Methods.
|
||||
// [google.golang.org/protobuf/runtime/protoiface.Methods].
|
||||
// Consult the protoiface package documentation for details.
|
||||
ProtoMethods() *methods
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user