diff --git a/cmd/hz/generator/handler.go b/cmd/hz/generator/handler.go index 68459fc44..2a949c5d6 100644 --- a/cmd/hz/generator/handler.go +++ b/cmd/hz/generator/handler.go @@ -44,7 +44,7 @@ type HttpMethod struct { RefPackage string // handler import dir RefPackageAlias string // handler import alias ModelPackage map[string]string - GenHandler bool // Whether to generate a handler, when an idl interface corresponds to multiple http method + GenHandler bool // Whether to generate one handler, when an idl interface corresponds to multiple http method // Annotations map[string]string Models map[string]*model.Model }