@ -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"
)
func Rpc(c *cli.Context) error {
@ -6,12 +6,11 @@ import (
"runtime"
"strings"
"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"
const (
@ -2,12 +2,12 @@ package gen
"fmt"
"github.com/tal-tech/go-zero/tools/goctl/rpc/execx"
"os"
"os/exec"
"path/filepath"
"github.com/tal-tech/go-zero/tools/goctl/rpc/parser"