From b0e335e7b0b12d0c9942125e8f9427db510ae4fe Mon Sep 17 00:00:00 2001 From: Chen Quan Date: Sat, 10 Jul 2021 00:12:52 -0500 Subject: [PATCH] Fix rpc generator bug (#799) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fix rpc自动生成generate bug * Delete mock --- tools/goctl/rpc/generator/gencall.go | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/goctl/rpc/generator/gencall.go b/tools/goctl/rpc/generator/gencall.go index 2f1a0e5c..ec42a436 100644 --- a/tools/goctl/rpc/generator/gencall.go +++ b/tools/goctl/rpc/generator/gencall.go @@ -16,7 +16,6 @@ import ( const ( callTemplateText = `{{.head}} -//go:generate mockgen -destination ./{{.name}}_mock.go -package {{.filePackage}} -source $GOFILE package {{.filePackage}}