From 9ca08888df9beab404da0fe597ec159daef969a9 Mon Sep 17 00:00:00 2001 From: Xudong Cai Date: Sun, 10 Apr 2022 16:17:03 +0800 Subject: [PATCH] fix: error case2Camel (#1923) --- cmd/protoc-gen-go-errors/errors.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {