From 18e273932ec1963a0c0fe16bb6b1dd1d3d09aa8e Mon Sep 17 00:00:00 2001 From: haoyue Date: Mon, 25 Nov 2019 14:06:25 +0800 Subject: [PATCH] =?UTF-8?q?kratos-gen-project=20=E5=8F=82=E6=95=B0=20--grp?= =?UTF-8?q?c=20=E7=BB=91=E5=AE=9A=E5=88=B0=E5=8F=98=E9=87=8F=20p.onlyGRPC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tool/kratos-gen-project/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/kratos-gen-project/main.go b/tool/kratos-gen-project/main.go index af27c6ee6..946731a72 100644 --- a/tool/kratos-gen-project/main.go +++ b/tool/kratos-gen-project/main.go @@ -53,7 +53,7 @@ func main() { cli.BoolFlag{ Name: "grpc", Usage: "只使用grpc 不使用http", - Destination: &p.onlyHTTP, + Destination: &p.onlyGRPC, }, cli.BoolFlag{ Name: "proto",