News for hackers. Stuff that matters.
Re:Golang 1.4 Internal Packages by lloeki on Wednesday June 25, 2014 @06:32AM (#7943119)
> What magic directory names?

"internal"

> The main proposal is one of scoping by directory hierarchy - /a/b/c can import a/b/d but a/g/x can't.

/a/b/c can import a/b/d, and /a/g/x and /z can too. The new rule is that /a/g/x can not import /a/internal/y.

Re:Golang 1.4 Internal Packages by sltkr on Wednesday June 25, 2014 @06:44AM (#7943159)
> The new rule is that /a/g/x can not import /a/internal/y.

As I understand it, /a/g/x CAN import /a/internal/y, because /a/g/x is in the directory tree that starts at /a/. However, /b/h/z CANNOT import /a/internal/y/ (while previously, it could).