"google/api/annotations.proto" 怎么下载下来
来源:14-3 基本知识科普 - 构建grpc-gateway 测试服务端让服务器支持http

weixin_慕九州8446065
2020-07-03
直接 go get 出现 go get google/api/annotations.proto: malformed module path “google/api/annotations.proto”: missing dot in first path element
错误
写回答
1回答
-
go get google/api/annotations.proto
这是错误的啊,go get里面只能是域名行驶啊,你为啥go get一个proto文件啊?
应该是这种形式才对啊
protoc -I . --go_out=plugins=grpc:proto ./echo.proto
022020-07-04
相似问题