From db409192802f6a6bf284cd3ed464dc4a3264f6a1 Mon Sep 17 00:00:00 2001 From: kinggo Date: Wed, 11 Jan 2023 14:54:52 +0800 Subject: [PATCH] style: modify comment --- cmd/hz/generator/template.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/hz/generator/template.go b/cmd/hz/generator/template.go index 2c5271ab6..d5eeca5c9 100644 --- a/cmd/hz/generator/template.go +++ b/cmd/hz/generator/template.go @@ -66,7 +66,7 @@ type TemplateGenerator struct { OutputDir string Config *TemplateConfig Excludes []string - tpls map[string]*template.Template // "template name" -> "Template", it used to get the "parsed template" directly + tpls map[string]*template.Template // "template name" -> "Template", it is used get the "parsed template" directly tplsInfo map[string]*Template // "template name" -> "template info", it is used to get the original "template information" dirs map[string]bool isPackageTpl bool