OS: Windows 11 WSL2;IDE: Goland Latest
I am trying to open my IDE Goland, but I get this error when the IDE tries to index my project.
warning: GOPATH set to GOROOT (/usr/local/go) has no effectgo: mkdir /usr/local/go/pkg/mod: permission deniedgo: github.com/MyCompany/common-backend@v1.0.56: mkdir /usr/local/go/pkg/mod: permission denied
though, I already set my go like this
export GOROOT=/usr/local/go export GOPATH=$HOME/go export PATH=$PATH:/usr/local/go/bin
is that anything I miss for my WSL for Go Path?