Add GOPROXY variable
This commit is contained in:
parent
8a6f281ffa
commit
11cc4430e6
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue