cannot find package "cloud.google.com/go/compute/metadata"

问题:

cannot find package "cloud.google.com/go/compute/metadata"

解决:

mkdir $GOPATH/src/cloud.google.com
cd $GOPATH/src/cloud.google.com
git clone https://github.com/googleapis/google-cloud-go
mv google-cloud-go go

 

posted @ 2019-10-14 11:24  salami_china  阅读(656)  评论(0编辑  收藏  举报