From 6e3d99e8693e14bf5e3e32cad03afe596a8bde28 Mon Sep 17 00:00:00 2001 From: kevin Date: Sat, 29 Aug 2020 14:31:51 +0800 Subject: [PATCH] reorg imports --- tools/goctl/rpc/command/command.go | 3 +-- tools/goctl/rpc/ctx/ctx.go | 3 +-- tools/goctl/rpc/gen/genshared.go | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/tools/goctl/rpc/command/command.go b/tools/goctl/rpc/command/command.go index 600422b1..be0946d4 100644 --- a/tools/goctl/rpc/command/command.go +++ b/tools/goctl/rpc/command/command.go @@ -1,10 +1,9 @@ package command import ( - "github.com/urfave/cli" - "github.com/tal-tech/go-zero/tools/goctl/rpc/ctx" "github.com/tal-tech/go-zero/tools/goctl/rpc/gen" + "github.com/urfave/cli" ) func Rpc(c *cli.Context) error { diff --git a/tools/goctl/rpc/ctx/ctx.go b/tools/goctl/rpc/ctx/ctx.go index 88ead96a..2e968437 100644 --- a/tools/goctl/rpc/ctx/ctx.go +++ b/tools/goctl/rpc/ctx/ctx.go @@ -6,12 +6,11 @@ import ( "runtime" "strings" - "github.com/urfave/cli" - "github.com/tal-tech/go-zero/core/logx" "github.com/tal-tech/go-zero/tools/goctl/util" "github.com/tal-tech/go-zero/tools/goctl/util/console" "github.com/tal-tech/go-zero/tools/goctl/util/stringx" + "github.com/urfave/cli" ) const ( diff --git a/tools/goctl/rpc/gen/genshared.go b/tools/goctl/rpc/gen/genshared.go index e6539f70..a74b5cb0 100644 --- a/tools/goctl/rpc/gen/genshared.go +++ b/tools/goctl/rpc/gen/genshared.go @@ -2,12 +2,12 @@ package gen import ( "fmt" - "github.com/tal-tech/go-zero/tools/goctl/rpc/execx" "os" "os/exec" "path/filepath" "strings" + "github.com/tal-tech/go-zero/tools/goctl/rpc/execx" "github.com/tal-tech/go-zero/tools/goctl/rpc/parser" "github.com/tal-tech/go-zero/tools/goctl/util" )