Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5d07ce8
commit fde3687
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Go言語でのデザインパターン実装 | ||
|
||
このリポジトリはGo言語でのデザインパターン実装を試したものです。 | ||
ここで得られた構造体実装に関する知見は[ブログ](http://blog.monochromegane.com/)に`Go言語による構造体実装パターン`としてまとめています。 | ||
|
||
パターン実装にあたっては、結城 浩さんの[増補改訂版Java言語で学ぶデザインパターン入門](http://www.amazon.co.jp/%E5%A2%97%E8%A3%9C%E6%94%B9%E8%A8%82%E7%89%88Java%E8%A8%80%E8%AA%9E%E3%81%A7%E5%AD%A6%E3%81%B6%E3%83%87%E3%82%B6%E3%82%A4%E3%83%B3%E3%83%91%E3%82%BF%E3%83%BC%E3%83%B3%E5%85%A5%E9%96%80-%E7%B5%90%E5%9F%8E-%E6%B5%A9/dp/4797327030/ref=sr_1_2?ie=UTF8&qid=1395468803&sr=8-2&keywords=%E3%83%87%E3%82%B6%E3%82%A4%E3%83%B3%E3%83%91%E3%82%BF%E3%83%BC%E3%83%B3)を参考にしました。 | ||
各デザインパターンの解説についてはそちらを参考にしてください。 | ||
|
||
# デザインパターン | ||
|
||
## 生成に関するパターン | ||
|
||
- [Abstract Factory](https://github.com/monochromegane/go_design_pattern/tree/master/abstract_factory) | ||
- [Builder](https://github.com/monochromegane/go_design_pattern/tree/master/builder) | ||
- [Factory Method](https://github.com/monochromegane/go_design_pattern/tree/master/factory_method) | ||
- [Prototype](https://github.com/monochromegane/go_design_pattern/tree/master/prototype) | ||
- [Singleton](https://github.com/monochromegane/go_design_pattern/tree/master/singleton) | ||
|
||
## 構造に関するパターン | ||
|
||
- [Adapter](https://github.com/monochromegane/go_design_pattern/tree/master/adapter) | ||
- [Bridge](https://github.com/monochromegane/go_design_pattern/tree/master/bridge) | ||
- [Composite](https://github.com/monochromegane/go_design_pattern/tree/master/composite) | ||
- [Decorator](https://github.com/monochromegane/go_design_pattern/tree/master/decorator) | ||
- [Facade](https://github.com/monochromegane/go_design_pattern/tree/master/facade) | ||
- [Flyweight](https://github.com/monochromegane/go_design_pattern/tree/master/flyweight) | ||
- [Proxy](https://github.com/monochromegane/go_design_pattern/tree/master/proxy) | ||
|
||
## 振る舞いに関するパターン | ||
|
||
- [Chain of Responsibility](https://github.com/monochromegane/go_design_pattern/tree/master/chain_of_responsibility) | ||
- [Command](https://github.com/monochromegane/go_design_pattern/tree/master/command) | ||
- [Interpreter](https://github.com/monochromegane/go_design_pattern/tree/master/interpreter) | ||
- [Iterator](https://github.com/monochromegane/go_design_pattern/tree/master/iterator) | ||
- [Mediator](https://github.com/monochromegane/go_design_pattern/tree/master/mediator) | ||
- [Memento](https://github.com/monochromegane/go_design_pattern/tree/master/memento) | ||
- [Observer](https://github.com/monochromegane/go_design_pattern/tree/master/observer) | ||
- [State](https://github.com/monochromegane/go_design_pattern/tree/master/state) | ||
- [Strategy](https://github.com/monochromegane/go_design_pattern/tree/master/strategy) | ||
- [Template Method](https://github.com/monochromegane/go_design_pattern/tree/master/template_method) | ||
- [Visitor](https://github.com/monochromegane/go_design_pattern/tree/master/visitor) | ||
|