1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-02-09 13:36:57 +02:00

Merge pull request #437 from haoyue0603/master

kratos-gen-project 参数 --grpc 绑定到变量 p.onlyGRPC
This commit is contained in:
Sam 2019-11-25 14:54:07 +08:00 committed by GitHub
commit 60e2765549
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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",