creational/object-pool: reimplement the object pool pattern

This commit is contained in:
Tamer Tas
2016-10-19 18:36:35 +03:00
parent cf0e410960
commit 6a717fe88c
5 changed files with 50 additions and 115 deletions

View File

@@ -18,7 +18,7 @@ A curated collection of idiomatic design & application patterns for Go language.
| [Abstract Factory](/creational/abstract_factory.md) | Provides an interface for creating families of releated objects | ✘ |
| [Builder](/creational/builder.md) | Builds a complex object using simple objects | ✘ |
| [Factory Method](/creational/factory.md) | Defers instantiation of an object to a specialized function for creating instances | ✘ |
| [Object Pool](/creational/object_pool.md) | Instantiates and maintains a group of objects instances of the same type | ✔ |
| [Object Pool](/creational/object-pool.md) | Instantiates and maintains a group of objects instances of the same type | ✔ |
| [Singleton](/creational/singleton.md) | Restricts instantiation of a type to one object | ✔ |
## Structural Patterns