|
|
|
|
|
by lsllc
2652 days ago
|
|
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 |
|
https://github.com/golang/go/issues/15507#issuecomment-24158...