安装GRPC-GATEWAY时遇到google/protobuf/descriptor.proto: File not found.
将 gRPC-Gateway 注释添加到现有的 proto 文件官方文档: https://grpc-ecosystem.github.io/grpc-gateway/docs/tutorials/adding_annotations/根据官方文档在安装gRPC的时候,遇到这个错误D:\go project\go_grpc\pb>protoc --go_out . --go_opt paths=source_relative --go-grpc_out . --go-grpc_opt paths
原创
2022-01-14 10:33:29 ·
3863 阅读 ·
1 评论