Golang安装依赖包失败 go get失败 git clone报错失败(已解决)

1.go get失败的解决方案为 安装 git 

2.git clone报 无法连接到libcurl-4.dll 解决方案为 重装git(最新版)

3.复制所有go get 语句在cmd 上粘贴。 OK 等着依赖包自己下载完毕就可以了。

go get github.com/gorilla/mux
go get github.com/gorilla/websocket
go get github.com/streadway/amqp
go get github.com/golang/protobuf
go get github.com/golang/net/context
go get github.com/gogo/protobuf
go get github.com/opentracing/basictracer-go
go get github.com/opentracing/opentracing-go
go get github.com/yireyun/go-queue
go get github.com/garyburd/redigo
go get sourcegraph.com/sourcegraph/appdash
go get sourcegraph.com/sourcegraph/appdash-data
go get github.com/eclipse/paho.mqtt.golang         
go get github.com/liangdas/mqant
go get github.com/liangdas/mqant-modules           
go get github.com/liangdas/armyant 

 

你可能感兴趣的:(GO)