typo: modify the comments of the proto-gen-go-errors (#1204)

pull/1205/head
Casper-Mars 3 years ago committed by GitHub
parent 060cb24535
commit e8e0f6734a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      cmd/protoc-gen-go-errors/errors.go

@ -14,7 +14,7 @@ const (
fmtPackage = protogen.GoImportPath("fmt")
)
// generateFile generates a _http.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 {
if len(file.Enums) == 0 {
return nil

Loading…
Cancel
Save