3 ms·
Have they fixed already the GOPATH crap?
by alexandernst 9y ago
Have they fixed already the GOPATH crap?
- konart 9y ago>The GOPATH environment variable now has a default value if it is unset. It defaults to $HOME/go on Unix and %USERPROFILE%/go on Windows. If this is what you are talking about - they 'fixed' it in 1.8 a year ago.
- egeozcan 9y agoIMHO, fixing it would be being able to build go code on random directories without env hackery.
- gschier 9y agoI think this is on the roadmap but I'm not sure the priority. Check out this proposal https://gist.github.com/sdboyer/def9b138af448f39300cb078b0e94cc3 https://gist.github.com/sdboyer/def9b138af448f39300cb078b0e9... EDIT: Found the proposal on the dep roadmap: https://github.com/golang/dep/wiki/Roadmap https://github.com/golang/dep/wiki/Roadmap
- macrael 9y agoThey fixed compilation caching not to install in $GOPATH/pkg anymore which feels like a good step toward getting rid of it all together, eventually.
- xstartup 9y agoI am using Deps with Visual Studio Code. My project builds from any directory even if it's not in the GOPATH.