在使用go进行编译脚本时,提示如下错误
go: downloading github.com/stretchr/testify v1.4.0
go: downloading github.com/bitly/go-simplejson v0.5.0
testClient.go:7:2: unknown import path "github.com/bitly/go-simplejson": Get https://goproxy.io/github.com/bitly/go-simplejson/@v/v0.5.0.zip: dial tcp 119.28.201.50:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
解决方法:
变量名:GOPROXY
变量值:https://goproxy.io/