3 ms·
You can view GOPATH centered development as a sign of simplicity. Probably not the most elegant thing in the world but the code organization is easy to fix with
by gluczywo 10y ago
You can view GOPATH centered development as a sign of simplicity. Probably not the most elegant thing in the world but the code organization is easy to fix with:
ln -s PROJECT_SOURCE_FOLDER $GOPATH/src/
- majewsky 10y agoI actually adopted the GOPATH structure for all my repos, with some shell-script tooling (e.g. `cg github.com/foo/bar` is equivalent to `cd $GOPATH/src/github.com/foo/bar`, but clones the repo on first use). While transitioning to it, I indeed found quite a few repos that were checked out multiple times below my $HOME because of inconsistent directory structures.
- deleted 10y ago[deleted]
- derimagia 10y agoI use https://github.com/motemen/ghq https://github.com/motemen/ghq for that, which is really nice actually.