Go Design Patterns
1h 25mIntermediate2021-07-30
Authors

Joe Marini
Senior Developer Advocate at Google, Developer
Course details
Go, a multi-paradigm programming language, features design patterns that allow developers to address common problems efficiently. In this course, senior developer advocate Joe Marini covers creation, structural, and behavioral design patterns. Joe begins with an overview of design patterns and design pattern categories. Then he gives you overviews and examples of several creational patterns, including builder pattern, factory pattern, and singleton pattern. He does the same for structural patterns, covering adapter patterns and facade patterns. Joe concludes with behavioral patterns such as an observer pattern and an iterator pattern.
Skills covered
Software Design PatternsGoGoogleProgramming LanguagesSoftware DevelopmentOne-Off
Concepts
0. Introduction
- 01 - Go design patterns
- 02 - What you should know
- 03 - Setting up the environment
1. Overview of Go Design Patterns
- 04 - Design patterns in Go
- 05 - Design pattern categories
2. Creational Patterns
- 06 - Builder pattern overview
- 07 - Builder pattern example
- 08 - Factory pattern overview
- 09 - Factory pattern example
- 10 - Singleton pattern overview
- 11 - Basic Singleton pattern example
- 12 - Making Singleton concurrent-safe
3. Structural Patterns
- 13 - Adapter pattern overview
- 14 - Adapter pattern example
- 15 - Facade pattern overview
- 16 - Facade pattern example
4. Behavioral Patterns
- 17 - Observer pattern overview
- 18 - Observer pattern example
- 19 - Iterator pattern overview
- 20 - Iterator pattern with callback
- 21 - Iterator pattern with interface
Conclusion
- 22 - Next steps