Embedding in Go: Part 2 - interfaces in interfaces

1 · Eli Bendersky · Aug. 18, 2020, 1 a.m.
This post is part 2 in a series descibing the kinds of embedding Go supports: Structs in structs (part 1) Interfaces in interfaces (this part) Interfaces in structs (part 3 - TBD) Embedding interfaces in interfaces Embedding an interface in another interface is the simplest kind of embedding in Go, because …...