1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-03-17 21:07:54 +02:00

chore: fix a few function names on comments (#2430)

This commit is contained in:
cui fliter 2023-01-09 21:16:43 +08:00 committed by GitHub
parent 7e896ae4c0
commit 9cc1047c75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {