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

@@ -12,6 +12,7 @@ import (
"time"
"github.com/logrusorgru/aurora"
"github.com/urfave/cli"
"github.com/zeromicro/go-zero/core/logx"
apiformat "github.com/zeromicro/go-zero/tools/goctl/api/format"
"github.com/zeromicro/go-zero/tools/goctl/api/parser"
@@ -19,7 +20,6 @@ import (
"github.com/zeromicro/go-zero/tools/goctl/config"
"github.com/zeromicro/go-zero/tools/goctl/util"
"github.com/zeromicro/go-zero/tools/goctl/util/pathx"
"github.com/urfave/cli"
)
const tmpFile = "%s-%d"

View File

@@ -3,8 +3,8 @@ package gogen
import (
"fmt"
"github.com/zeromicro/go-zero/tools/goctl/util/pathx"
"github.com/urfave/cli"
"github.com/zeromicro/go-zero/tools/goctl/util/pathx"
)
const (