1
0
mirror of https://github.com/go-kratos/kratos.git synced 2026-05-22 10:15:24 +02:00

fix(transport/http): typo (#1268)

Co-authored-by: 王真 <zhen.wang@yo-star.com>
This commit is contained in:
wz
2021-07-28 13:05:58 +08:00
committed by GitHub
parent e7d2f4966a
commit ce0cba4f41
+1 -1
View File
@@ -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) {