Google’s Go and implicit interface declaration

“Last week I decided to start going through some of the popular Go tutorials, specifically “Tour of Go”. It wasn’t long before I was introduced to the idea of “Implicit Interface Declaration” in Go. This means that to implement an interface you simply have to implement the method signatures that the interface defines; you do not need to explicitly say “I want to implement Interface X”, you simply go ahead and implement it. Let’s say that there’s some interface “Shape” and it’s defined as so:…”

http://www.swageroo.com/wordpress/googles-go-and-implicit-interface-declaration/?h