3-4节在我的笔记本运行gen.sh脚本的时候报错,无法运行第二行命令
来源:3-4 GRPC Gateway的实现
1xixi1
2022-03-13 21:10:20
问题描述:
命令:protoc -I=. --grpc-gateway_out=paths=source_relative,grpc_api_configuration=trip.yaml:gen/go trip.proto
会提示:
相关代码:
type: google.api.Service config_version: 3 http: rules: - selector: car_rental_applet.TripService.GetTrip get: /trip/{id}
上面的是yaml中的代码,代码看是没有问题的,
麻烦老师帮忙解答。
1回答
1xixi1
提问者
2022-03-14
已经解决了,我这边弄错了
相似问题