Skip to content

Instantly share code, notes, and snippets.

@baya
Created March 18, 2019 16:22
Show Gist options
  • Save baya/770856f527890ecbe948581975da7ff1 to your computer and use it in GitHub Desktop.
Save baya/770856f527890ecbe948581975da7ff1 to your computer and use it in GitHub Desktop.
go 安装 pkg 出错的解决方法
git clone https://github.com/grpc/grpc-go.git $GOPATH/src/google.golang.org/grpc
    git clone https://github.com/golang/net.git $GOPATH/src/golang.org/x/net
    git clone https://github.com/golang/text.git $GOPATH/src/golang.org/x/text
    go get -u github.com/golang/protobuf/{proto,protoc-gen-go}
    git clone https://github.com/google/go-genproto.git $GOPATH/src/google.golang.org/genproto
---------------------
作者:katy的小乖
来源:CSDN
原文:https://blog.csdn.net/u010918487/article/details/82961967
版权声明:本文为博主原创文章,转载请附上博文链接!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment