File tree Expand file tree Collapse file tree 2 files changed +42
-2
lines changed
Expand file tree Collapse file tree 2 files changed +42
-2
lines changed Original file line number Diff line number Diff line change 11# 设计模式
2- * 创建型
3- * 结构型
2+ * 创建型 C
3+ * 结构型 J
4+ * 行为型 X
45
6+ ```
7+ -AbstractFactory.go : 抽象工厂模式(C)
8+ -Adapter.go : 适配器模式(J)
9+ -Bridge.go : 桥接模式(J)
10+ -Builder.go : 建造者模式(C)
11+ -ChainOfResponsibility.go : 责任链模式(X)
12+ -Command.go : 命令模式(X)
13+ -Composite.go : 组合模式(J)
14+ -Decorator.go : 装饰器模式(J)
15+ -Facade.go : 外观模式(J)
16+ -Factory.go : 工厂模式(C)
17+ -Flyweight.go : 享元模式(J)
18+ -Interpreter.go : 解释器模式(X)
19+ -Iterator.go : 迭代器模式(X)
20+ -Mediator.go : 中介者模式(X)
21+ -Memento.go : 备忘录模式(X)
22+ -Observer.go : 观察者模式(X)
23+ -Prototype.go : 原型模式(C)
24+ -Proxy.go : 代理模式(J)
25+ -Singleton.go : 单例模式(C)
26+ -Singleton2.go : 单例模式(C)
27+ -State.go : 状态模式(X)
28+ ```
29+
530# 参考资料
631* http://www.runoob.com/design-pattern/design-pattern-tutorial.html
732* http://www.cnblogs.com/beijiguangyong/archive/2010/11/15/2302807.html#_Toc281750448
Original file line number Diff line number Diff line change 99// -Adapter.go : 适配器模式(J)
1010// -Bridge.go : 桥接模式(J)
1111// -Builder.go : 建造者模式(C)
12+ // -ChainOfResponsibility.go : 责任链模式(X)
13+ // -Command.go : 命令模式(X)
1214// -Composite.go : 组合模式(J)
1315// -Decorator.go : 装饰器模式(J)
1416// -Facade.go : 外观模式(J)
17+ // -Factory.go : 工厂模式(C)
18+ // -Flyweight.go : 享元模式(J)
19+ // -Interpreter.go : 解释器模式(X)
20+ // -Iterator.go : 迭代器模式(X)
21+ // -Mediator.go : 中介者模式(X)
22+ // -Memento.go : 备忘录模式(X)
23+ // -Observer.go : 观察者模式(X)
24+ // -Prototype.go : 原型模式(C)
25+ // -Proxy.go : 代理模式(J)
26+ // -Singleton.go : 单例模式(C)
27+ // -Singleton2.go : 单例模式(C)
28+ // -State.go : 状态模式(X)
29+ //
1530//
1631package pattern
You can’t perform that action at this time.
0 commit comments