refactor: refactor yaml unmarshaler (#1517)

This commit is contained in:
Kevin Wan
2022-02-09 17:22:52 +08:00
committed by GitHub
parent 05cc62f5ff
commit a40254156f
31 changed files with 68 additions and 70 deletions

View File

@@ -5,6 +5,7 @@ import (
"path/filepath"
"github.com/logrusorgru/aurora"
"github.com/urfave/cli"
"github.com/zeromicro/go-zero/core/errorx"
"github.com/zeromicro/go-zero/tools/goctl/api/apigen"
"github.com/zeromicro/go-zero/tools/goctl/api/gogen"
@@ -15,7 +16,6 @@ import (
modelgen "github.com/zeromicro/go-zero/tools/goctl/model/sql/gen"
rpcgen "github.com/zeromicro/go-zero/tools/goctl/rpc/generator"
"github.com/zeromicro/go-zero/tools/goctl/util/pathx"
"github.com/urfave/cli"
)
const templateParentPath = "/"