creational/object-pool: reimplement the object pool pattern

This commit is contained in:
Tamer Tas committed 2016-10-19 18:38:55 +03:00
1 parent cf0e410960
commit 6a717fe88c
5 files changed
+50 -115

No files matched your search

+1 -1
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