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...
Mar 4, 20233 min read190