Merge pull request #437 from haoyue0603/master

kratos-gen-project 参数 --grpc 绑定到变量 p.onlyGRPC
pull/438/head
Sam 5 years ago committed by GitHub
commit 60e2765549
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      tool/kratos-gen-project/main.go

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

Loading…
Cancel
Save