According to https://go.dev/tour/methods/9, an interface is a collection of method signatures. type Shape interface{ area() float64 } As you can see in the above code snippet, I define Shape which is an interface and simply put a method(you can ...