reorg imports

master
kevin 4 years ago
parent 0f97b2019a
commit 6e3d99e869

@ -1,10 +1,9 @@
package command package command
import ( import (
"github.com/urfave/cli"
"github.com/tal-tech/go-zero/tools/goctl/rpc/ctx" "github.com/tal-tech/go-zero/tools/goctl/rpc/ctx"
"github.com/tal-tech/go-zero/tools/goctl/rpc/gen" "github.com/tal-tech/go-zero/tools/goctl/rpc/gen"
"github.com/urfave/cli"
) )
func Rpc(c *cli.Context) error { func Rpc(c *cli.Context) error {

@ -6,12 +6,11 @@ import (
"runtime" "runtime"
"strings" "strings"
"github.com/urfave/cli"
"github.com/tal-tech/go-zero/core/logx" "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"
"github.com/tal-tech/go-zero/tools/goctl/util/console" "github.com/tal-tech/go-zero/tools/goctl/util/console"
"github.com/tal-tech/go-zero/tools/goctl/util/stringx" "github.com/tal-tech/go-zero/tools/goctl/util/stringx"
"github.com/urfave/cli"
) )
const ( const (

@ -2,12 +2,12 @@ package gen
import ( import (
"fmt" "fmt"
"github.com/tal-tech/go-zero/tools/goctl/rpc/execx"
"os" "os"
"os/exec" "os/exec"
"path/filepath" "path/filepath"
"strings" "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/rpc/parser"
"github.com/tal-tech/go-zero/tools/goctl/util" "github.com/tal-tech/go-zero/tools/goctl/util"
) )

Loading…
Cancel
Save