News for hackers. Stuff that matters.
Re:Introduction to Go 1.1 by pcwalton on Tuesday March 26, 2013 @11:06AM (#5443765)
You don't have to import methods in Go; the compiler just finds them. They're in a per-type namespace and therefore would be vulnerable to collisions. Of course, they could change the language to allow/require you to import methods, but that would add some complexity.

On the other hand, you have to import functions, so your example isn't a problem.

There are no comments on this comment yet.