Goによるデザイン・パターンの解説と実例です。
Javaで学んだ デザイン・パターンを Goに適用するとどうなるか試作したものです。
問題点や提案等あればご指摘頂けると助かります。
# | Type | Name | Done | Description |
---|---|---|---|---|
Creational | Abstract Factory | ○ | ||
^ | Factory Method | ○ | ||
^ | Builder | ○ | ||
^ | Singleton | ○ | ||
^ | Prototype | ○ | ||
Structural | Adapter | ○ | ||
^ | Bridge | ○ | ||
^ | Composite | ○ | ||
^ | Decorator | ○ | ||
^ | Facade | ○ | ||
^ | Flyweight | ○ | ||
^ | Proxy | |||
Behavioral | Chain of Responsibility | |||
^ | Command | |||
^ | Interpreter | |||
^ | Iterator | ○ | ||
^ | Mediator | |||
^ | Memento | |||
^ | Observer | |||
^ | State | |||
^ | Strategy | |||
^ | Template Method | |||
^ | Visitor |
# | Type | Name | Done | Description |
---|---|---|---|---|
^ | Single Thread Execution | ○ | ||
^ | Immutable | ○ | ||
^ | Guarded Suspension | ○ | ||
^ | Balking | |||
^ | Producer Consumer | |||
^ | Read Write Lock | |||
^ | Thread Per Message | |||
^ | Worker Thread | |||
^ | Future | |||
^ | Two Phase Termination | |||
^ | Thread Specific Storage | |||
^ | Active Object |