diff --git a/cmd/protoc-gen-go-errors/errors.go b/cmd/protoc-gen-go-errors/errors.go index a827c0719..7c2008d6f 100644 --- a/cmd/protoc-gen-go-errors/errors.go +++ b/cmd/protoc-gen-go-errors/errors.go @@ -17,7 +17,7 @@ const ( fmtPackage = protogen.GoImportPath("fmt") ) -var enCases = cases.Title(language.AmericanEnglish) +var enCases = cases.Title(language.AmericanEnglish, cases.NoLower) // generateFile generates a _errors.pb.go file containing kratos errors definitions. func generateFile(gen *protogen.Plugin, file *protogen.File) *protogen.GeneratedFile {