In Linux or macOS, you can execute the below commands. Bash / # Enable the go modules feature export GO111MODULE=on # Set the GOPROXY environment variable export GOPROXY=https://goproxy.io Or, write it into the .bashrc or .bash_profile file. 原文: http…