refine rpc generator

This commit is contained in:
kevin
2020-08-28 22:44:41 +08:00
parent 72132ce399
commit f411178a4f
8 changed files with 46 additions and 33 deletions

View File

@@ -1,7 +1,6 @@
package ctx
import (
"errors"
"fmt"
"io/ioutil"
"os"
@@ -16,8 +15,6 @@ import (
"github.com/tal-tech/go-zero/tools/goctl/util/console"
)
var errProtobufNotFound = errors.New("github.com/golang/protobuf is not found,please ensure you has already [go get github.com/golang/protobuf]")
const (
constGo = "go"
constProtoC = "protoc"