EasyConceptStructs, interfaces and generics
What is an interface in Go?
What a good answer covers
A set of method signatures. Any type that implements those methods satisfies the interface implicitly, with no implements keyword.
PreviousHow do you define a method on a struct?Next What is the empty interface and what replaced it in modern code?