fix: error case2Camel (#1923)

pull/1929/head
Xudong Cai 3 years ago committed by GitHub
parent a72fc68ffd
commit 9ca08888df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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 {

Loading…
Cancel
Save