Introduction
Go design patterns
()
What you should know
()
Setting up the environment
()
1. Overview of Go Design Patterns
Design patterns in Go
()
Design pattern categories
()
2. Creational Patterns
Builder pattern overview
()
Builder pattern example
()
Factory pattern overview
()
Factory pattern example
()
Singleton pattern overview
()
Basic Singleton pattern example
()
Making Singleton concurrent-safe
()
3. Structural Patterns
Adapter pattern overview
()
Adapter pattern example
()
Facade pattern overview
()
Facade pattern example
()
4. Behavioral Patterns
Observer pattern overview
()
Observer pattern example
()
Iterator pattern overview
()
Iterator pattern with callback
()
Iterator pattern with interface
()