From b04e214ec82751c76f500d04f140a8dfb1080296 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E7=9C=9F?= Date: Wed, 28 Jul 2021 11:54:55 +0800 Subject: [PATCH] fix annotation --- transport/http/binding/encode.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transport/http/binding/encode.go b/transport/http/binding/encode.go index 61e040d0e..103cfa6fe 100644 --- a/transport/http/binding/encode.go +++ b/transport/http/binding/encode.go @@ -98,7 +98,7 @@ func encodeField(fieldDescriptor protoreflect.FieldDescriptor, value protoreflec } } -// marshalMessage marshals the fields in the given protoreflect.Message. +// encodeMessage marshals the fields in the given protoreflect.Message. // If the typeURL is non-empty, then a synthetic "@type" field is injected // containing the URL as the value. func encodeMessage(msgDescriptor protoreflect.MessageDescriptor, value protoreflect.Value) (string, error) {