Go - (4) Interfaces

Introduction Interfaces are a collection of method signatures. ⛶type shape interface { area() int perimeter() int }In the above example, shape is anything that can be used to calc...
0 Read More