Hacker News new | ask | show | jobs
by ukyrgf 2667 days ago
Incidentally, Go doing that made my first foray into it a very easy "Oh, yeah, this programming language isn't gonna be for me." decision.
1 comments

Go modules has removed that restriction, although previously you could also get around it by avoiding Go’s build system (e.g. use Bazel instead). Some people would also just stick their go code in <repo>/go/src/example.com/pkgname, which is not that different from the way you might structure Java code anyway.