type Shape interface { area() float64 perimeter() float64 }
The interface is a collection of methods as well as it is a custom type.