3 ms·
>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 a
by 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