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" )