Comment Comment by lsllc You can put your project in ~/work/my-go-project but then symlink it to ~/go/src/github.com/joshklien/my-go-project (assuming your $GOPATH is ~/go).But yes, with modules you don't need to do this anymore.go mod init github.com/joshklien/my-go-project parent lsllc 7 years ago
But yes, with modules you don't need to do this anymore.
go mod init github.com/joshklien/my-go-project