Files
linux-workspace/rc/go-env.sh.skip
2024-03-16 11:18:05 +01:00

12 lines
215 B
Plaintext

# 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