protobuf 的go的那个啥没有了咋办

来源:2-3 ProtoBuf编译器的安装

zifeng62573686180

2021-01-21 21:40:22

go install \    github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway \    github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger \    github.com/golang/protobuf/protoc-gen-go

写回答

1回答

zifeng62573686180

提问者

2021-01-22

怎么每人回答呢

0
hifeng62573686180
hp>http://img.mukewang.com/climg/600bf11f09ea405009110285.jpg


使用https://github.com/grpc-ecosystem/grpc-gateway/

上面截图是使用下面的命令的,这个go的插件一直安装失败,很苦恼啊

go install \
    github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway \
    github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2 \
    google.golang.org/protobuf/cmd/protoc-gen-go \
    google.golang.org/grpc/cmd/protoc-gen-go-grpc


h021-01-23
共1条回复

0 学习 · 1399 问题

查看课程