ci: add reviewdog (#1096)

This commit is contained in:
Kevin Wan
2021-09-29 13:09:20 +08:00
committed by GitHub
parent 80e3407be1
commit 65905b914d
23 changed files with 46 additions and 86 deletions

View File

@@ -11,7 +11,6 @@ import (
"github.com/logrusorgru/aurora"
"github.com/tal-tech/go-zero/tools/goctl/util"
ctlutil "github.com/tal-tech/go-zero/tools/goctl/util"
"github.com/urfave/cli"
)
@@ -128,7 +127,7 @@ func generateDockerfile(goFile string, port int, args ...string) error {
}
defer out.Close()
text, err := ctlutil.LoadTemplate(category, dockerTemplateFile, dockerTemplate)
text, err := util.LoadTemplate(category, dockerTemplateFile, dockerTemplate)
if err != nil {
return err
}