3 ms·
Oh yes for 4). Why can't I include a package from the current directory? Would it be that difficult to first search for a directory containing a `main.go` befor
by Cyph0n 11y ago
Oh yes for 4). Why can't I include a package from the current directory? Would it be that difficult to first search for a directory containing a `main.go` before jumping to GOPATH - similar to how Python defines packages with a __init__.py?
In addition, once your workspace increases in size, GOPATH becomes a mess in my opinion.
- bmh_ca 11y agoI noted the `vendor` path support in 1.6 (and experimentally in 1.5): https://golang.org/cmd/go/#hdr-Vendor_Directories https://golang.org/cmd/go/#hdr-Vendor_Directories