Hello, I’m currently setting up Golang for my machine because I’m taking a Go course. The part I’m having trouble with is setting GOPATH equal to where I want my Go directory to be at (which is within a Projects subdirectory). I’m on a Mac/Unix for reference. I’ve tried editing both .bash_profile and .bashrc to read
export GOPATH=“/filepath”
I’ve even tried placing the line inside of a zsh file. None seem to work for me. I wonder if maybe I am editing them under the wrong parent directory. When I do go env it still has GOPATH under the location where I installed Golang.