- Set GOPROXY enviroment variable as follows (go1.13+):
$ go env -w GO111MODULE=on
$ go env -w GOPROXY=https://goproxy.cn,direct
- For more details, see https://goproxy.cn or https://goproxy.io
- It is supported since BFE v0.7.0
$ go env -w GO111MODULE=on
$ go env -w GOPROXY=https://goproxy.cn,direct