Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



I noted the `vendor` path support in 1.6 (and experimentally in 1.5): https://golang.org/cmd/go/#hdr-Vendor_Directories




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: