Design Patterns in Go: Building Maintainable Enterprise Systems
摘要
When we speak about design patterns in Go, we are not copying the Gang of Four book into a language that does not use inheritance. Go solves the same design problems that Java or C# developers face, but it uses different tools. It prefers small interfaces, functions as values, simple composition, and a concurrency model built into the language.