News for hackers. Stuff that matters.
Re:Go by Example by frou_dh on Friday January 17, 2014 @01:45PM (#7077610)
You can't put methods on a type from a different package (or in this case a builtin type).

Instead of methods, you could of course write normal functions taking []string, but only methods can fulfil interfaces.

There are no comments on this comment yet.