5 ms·
You can always symlink a project located in your GOPATH to your `projects` directory.
by grncdr 10y ago
You can always symlink a project located in your GOPATH to your `projects` directory.
- rcarmo 10y agoIt's brittle and confusing nonetheless. Having to set up Go on all the machines I use is a pain I could do without.
- themartorana 10y agoThen don't? This is just being opinionated in the other direction and declaring yours the right one.
- stouset 10y agoThis is inane. The approach GP is talking about lets any developer manage the space above their project however they care to. The `GOPATH` approach forces this one structure upon you. It's like arguing that marriage equality violates your right to believe a marriage is between one man and one woman. One side is arguing that folks should be able to decide what's best for themselves, the other is saying it must be their way. One of these perspectives forces their preferences on the other. And it's not the GP.
- stcredzero 10y agoThe `GOPATH` approach forces this one structure upon you. That's basically the point. It's like arguing that marriage equality violates your right to believe a marriage is between one man and one woman. No, it's more like the Pythonic "There's one way to do it."
- duai 10y ago> No, it's more like the Pythonic "There's one way to do it." Nope, because it's "There should be one obvious way to do it." and you can still do the non-obvious way if you prefer. It doesn't force anything upon you.
- mixedCase 10y agoHow many machines do you develop in? go getting and ln -s in your code folder isn't exactly an ardous, confusing task.