export GOPATH=$PROJECTS/go
export PATH="$GOPATH/bin:$PATH"

if [[ $OSTYPE == "darwin"* ]]; then
  if prefix=$(brew --prefix golang); then
    export GOROOT="$prefix/libexec"
  fi
fi

export GOPATH=$HOME/go
export PATH="$GOPATH/bin:$PATH"

if [[ $OSTYPE == "darwin"* ]]; then
  if prefix=$(brew --prefix golang); then
    export GOROOT="$prefix/libexec"
  fi
fi

Move go home dir to /home/stark/go
Move go home dir to /home/stark/go
