9 1

不翻墙安装grpc

1.mkdir -p $GOPATH/src/google.golang.org
2.cd $GOPATH/src/google.golang.org
3.git clone https://github.com/grpc/grpc-go.git grpc
4.git clone https://github.com/google/go-genproto.git genproto
5.mkdir -p $GOPATH/src/golang.org/x
6.cd $GOPATH/src/golang.org/x
7.git clone https://github.com/golang/net.git
8.git clone https://github.com/golang/text.git
9.go install google.golang.org/grpc