Add GOPROXY variable

This commit is contained in:
Anthony Rose 2021-07-02 22:23:10 +01:00
parent 8a6f281ffa
commit 11cc4430e6

View file

@ -111,7 +111,8 @@ then
alias vi=vim
fi
# Set up GOPATH.
# Set up Go.
export GOPROXY=https://proxy.golang.org
export GOPATH="${XDG_DATA_HOME:-$HOME/.local/share}/go"
if [ -x "$HOME/opt/go/bin/go" ] || [ -x /usr/bin/go ] || [ -x /usr/local/bin/go ]
then