3 ms·
Those kids must be really smart. I still have co-workers who can't get the $GOPATH foo right. :(
by zphds 11y ago
Those kids must be really smart. I still have co-workers who can't get the $GOPATH foo right. :(
- schmichael 11y agoForce them to read this: http://golang.org/doc/code.html http://golang.org/doc/code.html I know it's unfortunately long, but I have yet to find someone who has read it and is still confused about $GOPATH.
- toufka 11y agoPart of it is just understanding how to set up the $GOPATH. Understanding its structure is one thing, but actually getting the 'go' to read the right directory on OSX vs Ubuntu vs other systems depending on your shell (and version of go?) and over old installations, can be a very confusing way to start using the language.
- soheilhy 11y agoThat's right. GOPATH can be problematic, but that's easy to fix with a script: https://github.com/soheilhy/goget https://github.com/soheilhy/goget