소스 검색

Remove unused code (#1667)

Co-authored-by: anqiansong <anqiansong@bytedance.com>
anqiansong 3 년 전
부모
커밋
194f55e08e
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      tools/goctl/rpc/generator/genpb.go

+ 0 - 2
tools/goctl/rpc/generator/genpb.go

@@ -10,8 +10,6 @@ import (
 	"github.com/zeromicro/go-zero/tools/goctl/rpc/execx"
 )
 
-const googleProtocGenGoErr = `--go_out: protoc-gen-go: plugins are not supported; use 'protoc --go-grpc_out=...' to generate gRPC`
-
 // GenPb generates the pb.go file, which is a layer of packaging for protoc to generate gprc,
 // but the commands and flags in protoc are not completely joined in goctl. At present, proto_path(-I) is introduced
 func (g *Generator) GenPb(ctx DirContext, c *ZRpcContext) error {