OOP in Go: Interfaces
In the last article, we discussed Go structs, and how they can be used to mimic key OOP concepts like Encapsulation, Abstraction and Inheritance.
A Go interface is a collection of method signatures that define behaviors. An interface is defined using...
hashnode.ssnk.in3 min read