Notes: Go Design Patterns - Adapter Pattern
Adapter design pattern as the name suggests lets an interface adapt to another similar interface. This is a structural pattern. Let's dive directly into the example.
Let's assume that we have a DataParser interface that contains methods around JSON f...
btree.dev2 min read