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:
parent
5a8668eade
commit
18e273932e
@ -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