From 194f55e08e56928d3d427a8ba73d587729f4932a Mon Sep 17 00:00:00 2001 From: anqiansong Date: Sat, 19 Mar 2022 23:15:11 +0800 Subject: [PATCH] Remove unused code (#1667) Co-authored-by: anqiansong --- tools/goctl/rpc/generator/genpb.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/goctl/rpc/generator/genpb.go b/tools/goctl/rpc/generator/genpb.go index 3656d3e5..797a1fc8 100644 --- a/tools/goctl/rpc/generator/genpb.go +++ b/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 {