# Use user defined Go version # GOPATH and GOROOT must be already set in $HOME/.bashrc if [[ ! -z "$GOPATH" ]]; then prepend_path "$GOPATH/bin" fi if [[ ! -z "$GOROOT" ]]; then prepend_path "$GOROOT/bin" fi