Re:Go 1.8 Release Candidate 1 is released
by boomlinde on Tuesday January 10, 2017 @06:55PM
(#13370487)
It doesn't. Package imports are either relative to GOPATH, GOROOT, the vendor directory or to the current package path (e.g. `import "../sibling"`).
This doesn't restrict you to using a special path or a particular mode of organizing. Rather, it leaves much of that problem to the user, for better or for worse. It's perfectly fine to write programs with GOPATH unset.
This doesn't restrict you to using a special path or a particular mode of organizing. Rather, it leaves much of that problem to the user, for better or for worse. It's perfectly fine to write programs with GOPATH unset.