Learn tried-and-true design patterns used to handle common programming tasks in the Go programming language.
Overview
Syllabus
Introduction
- Go design patterns
- What you should know
- Setting up the environment
- Design patterns in Go
- Design pattern categories
- Builder pattern overview
- Builder pattern example
- Factory pattern overview
- Factory pattern example
- Singleton pattern overview
- Basic Singleton pattern example
- Making Singleton concurrent-safe
- Adapter pattern overview
- Adapter pattern example
- Facade pattern overview
- Facade pattern example
- Observer pattern overview
- Observer pattern example
- Iterator pattern overview
- Iterator pattern with callback
- Iterator pattern with interface
- Next steps
Taught by
Joe Marini