Golang Design Pattern
Golang Design Pattern
Go 语言设计模式实例代码
创建型模式
- 简单工厂模式(Simple Factory)
- 工厂方法模式(Factory Method)
- 抽象工厂模式(Abstract Factory)
- 创建者模式(Builder)
- 原型模式(Prototype)
- 单例模式(Singleton)
结构型模式
行为型模式
This post is licensed under CC BY 4.0 by the author.