mirror of
https://github.com/crazybber/go-pattern-examples.git
synced 2024-11-28 22:46:03 +03:00
update readme
This commit is contained in:
parent
911fc9d50b
commit
ed85d19ad7
36
README.md
36
README.md
@ -10,45 +10,45 @@ Go常用的、面向工程化和最佳实践的模式套路,包含常见的23
|
|||||||
|
|
||||||
## 创建型模式
|
## 创建型模式
|
||||||
|
|
||||||
+ [简单工厂模式(Simple Factory)](./creation/00_simple_factory)
|
+ [x] [简单工厂模式(Simple Factory)](./creation/00_simple_factory)
|
||||||
+ [工厂方法模式(Factory Method)](./creation/04_factory_method)
|
+ [x] [工厂方法模式(Factory Method)](./creation/04_factory_method)
|
||||||
+ [抽象工厂模式(Abstract Factory)](./creation/05_abstract_factory)
|
+ [x] [抽象工厂模式(Abstract Factory)](./creation/05_abstract_factory)
|
||||||
+ [创建者模式(Builder)](./creation/06_builder)
|
+ [x] [创建者模式(Builder)](./creation/06_builder)
|
||||||
+ [原型模式(Prototype)](./creation/07_prototype)
|
+ [x] [原型模式(Prototype)](./creation/07_prototype)
|
||||||
+ [单例模式(Singleton)](./creation/03_singleton)
|
+ [x] [单例模式(Singleton)](./creation/03_singleton)
|
||||||
+ [对象池模式(Object Pool)](./creation/24_object_pool)
|
+ [ ] [对象池模式(Object Pool)](./creation/24_object_pool)
|
||||||
+ [New模式(New)](./creation/25_new)
|
+ [x] [New模式(New)](./creation/25_new)
|
||||||
|
|
||||||
## 结构型模式
|
## 结构型模式
|
||||||
|
|
||||||
+ [外观模式(Facade)](./structure/01_facade)
|
+ [x] [外观模式(Facade)](./structure/01_facade)
|
||||||
+ [适配器模式(Adapter)](./structure/02_adapter)
|
+ [x] [适配器模式(Adapter)](./structure/02_adapter)
|
||||||
+ [代理模式(Proxy)](./structure/09_proxy)
|
+ [x] [代理模式(Proxy)](./structure/09_proxy)
|
||||||
+ [组合模式(Composite)](./structure/13_composite)
|
+ [组合模式(Composite)](./structure/13_composite)
|
||||||
+ [享元模式(Flyweight)](./structure/18_flyweight)
|
+ [享元模式(Flyweight)](./structure/18_flyweight)
|
||||||
+ [装饰模式(Decorator)](./structure/20_decorator)
|
+ [装饰模式(Decorator)](./structure/20_decorator)
|
||||||
+ [桥模式(Bridge)](./structure/22_bridge)
|
+ [x] [桥模式(Bridge)](./structure/22_bridge)
|
||||||
|
|
||||||
## 行为型模式
|
## 行为型模式
|
||||||
|
|
||||||
+ [中介者模式(Mediator)](./behavior/08_mediator)
|
+ [x] [中介者模式(Mediator)](./behavior/08_mediator)
|
||||||
+ [观察者模式(Observer)](./behavior/10_observer)
|
+ [观察者模式(Observer)](./behavior/10_observer)
|
||||||
+ [命令模式(Command)](./behavior/11_command)
|
+ [命令模式(Command)](./behavior/11_command)
|
||||||
+ [迭代器模式(Iterator)](./behavior/12_iterator)
|
+ [迭代器模式(Iterator)](./behavior/12_iterator)
|
||||||
+ [模板方法模式(Template Method)](./behavior/14_template_method)
|
+ [模板方法模式(Template Method)](./behavior/14_template_method)
|
||||||
+ [策略模式(Strategy)](./behavior/15_strategy)
|
+ [x] [策略模式(Strategy)](./behavior/15_strategy)
|
||||||
+ [状态模式(State)](./behavior/behavior16_state)
|
+ [状态模式(State)](./behavior/behavior16_state)
|
||||||
+ [备忘录模式(Memento)](./behavior/17_memento)
|
+ [备忘录模式(Memento)](./behavior/17_memento)
|
||||||
+ [解释器模式(Interpreter)](./behavior/19_interpreter)
|
+ [解释器模式(Interpreter)](./behavior/19_interpreter)
|
||||||
+ [职责链模式(Chain of Responsibility)](./behavior/21_chain_of_responsibility)
|
+ [职责链模式(Chain of Responsibility)](./behavior/21_chain_of_responsibility)
|
||||||
+ [访问者模式(Visitor)](./behavior/23_visitor)
|
+ [访问者模式(Visitor)](./behavior/23_visitor)
|
||||||
+ [闭包选项模式(Function Option)](./behavior/26_option)
|
+ [x] [闭包选项模式(Function Option)](./behavior/26_option)
|
||||||
|
|
||||||
## Go More
|
## Go More
|
||||||
|
|
||||||
+ [发布订阅模式(Pub-Sub)](./gomore/27_messages)
|
+ [x] [发布订阅模式(Pub-Sub)](./gomore/27_messages)
|
||||||
+ [时差模式(Time Profile)](./gomore/28_profiles)
|
+ [x] [时差模式(Time Profile)](./gomore/28_profiles)
|
||||||
+ [上下文模式(Context)](./gomore/29_context)
|
+ [x] [上下文模式(Context)](./gomore/29_context)
|
||||||
|
|
||||||
## 参考资料(Design patters Articles)
|
## 参考资料(Design patters Articles)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user