The Strategy Pattern in Go: Replacing Switch Statements with Interfaces
Every Go codebase has one: that function with a growing switch statement. It starts with two cases — a direct
Continue readingThe Strategy Pattern in Go: Replacing Switch Statements with Interfaces