1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-03-17 21:07:54 +02:00

kratos-gen-project 参数 --grpc 绑定到变量 p.onlyGRPC

This commit is contained in:
haoyue 2019-11-25 14:06:25 +08:00
parent 5a8668eade
commit 18e273932e

View File

@ -53,7 +53,7 @@ func main() {
cli.BoolFlag{
Name: "grpc",
Usage: "只使用grpc 不使用http",
Destination: &p.onlyHTTP,
Destination: &p.onlyGRPC,
},
cli.BoolFlag{
Name: "proto",