Solve the problem of go get failure

By setting up a proxy

Under Linux

export GO111MODULE=on
export GOPROXY=https://goproxy.cn

Windows

set GO111MODULE=on
set GOPROXY=https://goproxy.cn

 

Guess you like

Origin blog.csdn.net/woailp___2005/article/details/108398766