Design Pattern: Strategy Pattern in Go
Strategy pattern is used to decide between choosing an algorithm from a bunch of algorithms (that serve the same purpose). This pattern encapsulates the complexity and makes is easier for the client to choose and use an algorithm. This article demonstrates Strategy pattern implementations in Go.