Interfaces - Part I

Welcome to tutorial no. 18 in Golang tutorial series. This is the first part in our 2 part interface tutorial. What is an interface? In Go, an interface is a set of method signatures. When a type provides definition for all the methods in the interface, it is said to implement the interface. Interface specifies what methods a type should have and the type decides how to implement these methods.