From 9cc1047c75abd75a9ee0cab1a064a785398751fa Mon Sep 17 00:00:00 2001 From: cui fliter Date: Mon, 9 Jan 2023 21:16:43 +0800 Subject: [PATCH] chore: fix a few function names on comments (#2430) --- encoding/form/proto_encode.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/encoding/form/proto_encode.go b/encoding/form/proto_encode.go index 25d4ac192..550648dcf 100644 --- a/encoding/form/proto_encode.go +++ b/encoding/form/proto_encode.go @@ -200,7 +200,7 @@ func EncodeFieldMask(m protoreflect.Message) (query string) { return } -// JSONCamelCase converts a snake_case identifier to a camelCase identifier, +// jsonCamelCase converts a snake_case identifier to a camelCase identifier, // according to the protobuf JSON specification. // references: https://github.com/protocolbuffers/protobuf-go/blob/master/encoding/protojson/well_known_types.go#L842 func jsonCamelCase(s string) string {