我正在尝试使用 https://github.com/grpc-ecosystem/grpc-gateway但是当我尝试运行时
protoc -I/usr/local/include -I. -I${GOPATH}/src -I${GOPATH}/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis --go_out=plugins=grpc,paths=source_relative:./ example/example.proto
错误 src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis:警告:目录不存在。
为了解决这个问题,我手动带来了必要的文件,但我觉得这是不必要的,有一种方法可以让它自动化,我之前运行过 go get -u github.com/grpc-ecosystem/grpc-gateway/
但还是没办法
呼如林
慕尼黑8549860
四季花海
慕的地8271018
随时随地看视频慕课网APP
相关分类