Explorar o código

reorg imports

kevin %!s(int64=4) %!d(string=hai) anos
pai
achega
6e3d99e869

+ 1 - 2
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 {

+ 1 - 2
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 (

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