4 thoughts
last posted Aug. 19, 2014, 3:01 p.m.

Interfaces in Go are pretty interesting. They're declared as a set of methods that a type -- any type -- must implement to satisfy the interface.

Types in Go don't state their compliance -- or intention to comply -- with an interface like classes do in other languages like Java. They either do or do not satisfy the interface by supporting the methods.

3 later thoughts