Windows10 安装grpc-go 详细步骤
2021-01-24 15:15
标签:准备 dba com golang prot shu org tps doc $env:GOPATH\src\github.com\grpc\grpc-go\examples\helloworld\greeter_server $env:GOPATH\src\github.com\grpc\grpc-go\examples\helloworld\greeter_client https://www.jianshu.com/p/dba4c7a6d608 http://grpc.mydoc.io/?v=10467&t=58008 https://github.com/grpc/grpc-go#FAQ Windows10 安装grpc-go 详细步骤 标签:准备 dba com golang prot shu org tps doc 原文地址:https://www.cnblogs.com/roastpiglet/p/12045169.html准备依赖
git clone https://github.com/grpc/grpc-go.git $env:GOPATH\src\google.golang.org\grpc
git clone https://github.com/golang/net.git $env:GOPATH\src\golang.org\x\net
git clone https://github.com/golang/text.git $env:GOPATH\src\golang.org\x\text
go get -u github.com/golang/protobuf
git clone https://github.com/google/go-genproto.git $env:GOPATH\src\google.golang.org\genproto
测试HelloWorld
打开server
go run main.go打开client
go run main.go参考链接