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:
parent
060cb24535
commit
e8e0f6734a
@ -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…
x
Reference in New Issue
Block a user