A Guide to Interfaces in Go
In Go, interfaces take the center stage. They are more flexible and more powerful than their counterparts in other languages. When coming to Go from another language, this may not be immediately obvious, yet this realization is quite important for our ability to write well-structured and decoupled code. Let’s explore exactly how flexible they are and how we can make the best use of them.
Preamble I’ll assume that you have at least a passing familiarity with the Go programming language and interfaces.
[Read More]