chore: coding style (#3080)

This commit is contained in:
Kevin Wan
2023-03-31 10:13:48 +08:00
committed by GitHub
parent 1904af2323
commit ee555a85da
2 changed files with 7 additions and 8 deletions

View File

@@ -8,9 +8,9 @@ import (
)
const (
category = "gateway"
etcTemplateFileFile = "etc.tpl"
mainTemplateFile = "main.tpl"
category = "gateway"
etcTemplateFileFile = "etc.tpl"
mainTemplateFile = "main.tpl"
)
//go:embed conf.yml
@@ -19,10 +19,9 @@ var etcTemplate string
//go:embed gateway.tpl
var mainTemplate string
var templates = map[string]string{
etcTemplateFileFile: etcTemplate,
mainTemplateFile: mainTemplate,
etcTemplateFileFile: etcTemplate,
mainTemplateFile: mainTemplate,
}
// GenTemplates is the entry for command goctl template,