1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-02-07 13:31:50 +02:00

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

This commit is contained in:
Casper-Mars 2021-07-17 22:08:36 +08:00 committed by GitHub
parent 060cb24535
commit e8e0f6734a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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