fix: error case2Camel (#1923)

status-code-override
Xudong Cai 3 years ago committed by chenzhihui
parent a9ebd0822c
commit acb4588d69
  1. 2
      cmd/protoc-gen-go-errors/errors.go

@ -17,7 +17,7 @@ const (
fmtPackage = protogen.GoImportPath("fmt") 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. // generateFile generates a _errors.pb.go file containing kratos errors definitions.
func generateFile(gen *protogen.Plugin, file *protogen.File) *protogen.GeneratedFile { func generateFile(gen *protogen.Plugin, file *protogen.File) *protogen.GeneratedFile {

Loading…
Cancel
Save