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:
commit
60e2765549
@ -53,7 +53,7 @@ func main() {
|
||||
cli.BoolFlag{
|
||||
Name: "grpc",
|
||||
Usage: "只使用grpc 不使用http",
|
||||
Destination: &p.onlyHTTP,
|
||||
Destination: &p.onlyGRPC,
|
||||
},
|
||||
cli.BoolFlag{
|
||||
Name: "proto",
|
||||
|
Loading…
x
Reference in New Issue
Block a user