blob: 205c881b8205dfe69aa40f930ffa3a4eea20c14e (
plain)
1
2
3
4
5
6
7
8
9
|
export GOPATH="$HOME/src/go"
# https://drewdevault.com/2022/05/25/Google-has-been-DDoSing-sourcehut.html
export GOPROXY=direct
# For the GO binary ... XXX: this is slightly clunky (~/usr/local/go/bin is the directory)
path_add_to_PATH "$GOPATH/go/bin"
command -v go >/dev/null 2>&1 && path_add_to_PATH "$(go env GOPATH)/bin"
|