Heh, from http://research.swtch.com/interfaces
Among other metadata, the type description structure contains a list of the methods implemented by that type. Similarly, the compiler generates a (different) type description structure for each interface type like Stringer; it too contains a method list. The interface runtime computes the itable by looking for each method listed in the interface type's method table in the concrete type's method table.

So methods are tightly coupled with types after all. Doesn't look like what go claims about decoupling types and methods.

Reply via email to