From 267a2833286491089ffb6bb19a78f7a4cf1930db Mon Sep 17 00:00:00 2001 From: kevin Date: Thu, 20 Aug 2020 10:46:39 +0800 Subject: [PATCH] reorg imports --- core/filex/file_test.go | 3 +-- tools/goctl/goctl.go | 3 +-- tools/goctl/model/sql/command/command.go | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/core/filex/file_test.go b/core/filex/file_test.go index cb0b7f83..2e2113ae 100644 --- a/core/filex/file_test.go +++ b/core/filex/file_test.go @@ -4,9 +4,8 @@ import ( "os" "testing" - "github.com/tal-tech/go-zero/core/fs" - "github.com/stretchr/testify/assert" + "github.com/tal-tech/go-zero/core/fs" ) const ( diff --git a/tools/goctl/goctl.go b/tools/goctl/goctl.go index 2ab142fd..3a1bf3c3 100644 --- a/tools/goctl/goctl.go +++ b/tools/goctl/goctl.go @@ -4,8 +4,6 @@ import ( "fmt" "os" - "github.com/urfave/cli" - "github.com/tal-tech/go-zero/core/logx" "github.com/tal-tech/go-zero/tools/goctl/api/apigen" "github.com/tal-tech/go-zero/tools/goctl/api/dartgen" @@ -20,6 +18,7 @@ import ( "github.com/tal-tech/go-zero/tools/goctl/docker" "github.com/tal-tech/go-zero/tools/goctl/feature" "github.com/tal-tech/go-zero/tools/goctl/model/sql/command" + "github.com/urfave/cli" ) var ( diff --git a/tools/goctl/model/sql/command/command.go b/tools/goctl/model/sql/command/command.go index eb823d39..ea54b445 100644 --- a/tools/goctl/model/sql/command/command.go +++ b/tools/goctl/model/sql/command/command.go @@ -5,14 +5,13 @@ import ( "path/filepath" "strings" - "github.com/urfave/cli" - "github.com/tal-tech/go-zero/core/collection" "github.com/tal-tech/go-zero/core/logx" "github.com/tal-tech/go-zero/core/stores/sqlx" "github.com/tal-tech/go-zero/tools/goctl/model/sql/gen" "github.com/tal-tech/go-zero/tools/goctl/model/sql/model" "github.com/tal-tech/go-zero/tools/goctl/util/console" + "github.com/urfave/cli" ) const (