aboutsummaryrefslogblamecommitdiff
path: root/sh/profile.d/go.sh
blob: 86bf999470fe6bb9ee02131fb04a42ed660969f4 (plain) (tree)
1
2
3
4
5
6
7
8



                                         



                                                         
# Define path for Go code to be installed
GOPATH=$HOME/.local/gocode
export GOPATH

# Prepend GOPATH to PATH for the executables if it exists
if [ -d "$GOPATH"/bin ] ; then
    PATH=$GOPATH/bin:$PATH
fi