This commit is contained in:
lachtan
2024-03-16 11:18:05 +01:00
parent ea7a60db11
commit 12e55c1c5d
4 changed files with 4 additions and 6 deletions

11
rc/go-env.sh.skip Normal file
View File

@@ -0,0 +1,11 @@
# 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