3-4节在我的笔记本运行gen.sh脚本的时候报错,无法运行第二行命令

来源:3-4 GRPC Gateway的实现

1xixi1

2022-03-13 21:10:20


问题描述:

https://img.mukewang.com/climg/622dec2609c39bf621020430.jpg

命令:protoc -I=. --grpc-gateway_out=paths=source_relative,grpc_api_configuration=trip.yaml:gen/go trip.proto



会提示:https://img.mukewang.com/climg/622dec4309f1809009540060.jpg

相关代码:

type: google.api.Service
config_version: 3

http:
  rules:
    - selector: car_rental_applet.TripService.GetTrip
      get: /trip/{id}

上面的是yaml中的代码,代码看是没有问题的,

麻烦老师帮忙解答。

写回答

1回答

1xixi1

提问者

2022-03-14

已经解决了,我这边弄错了

1
heixin_慕先生9114436
hp>你是如何解决的?

h023-07-06
共1条回复

0 学习 · 1399 问题

查看课程