creational/builder: implement the builder pattern

This commit is contained in:
Tamer Tas
2017-02-22 18:02:38 +03:00
parent 4595241f77
commit e7af050223
2 changed files with 62 additions and 1 deletions

View File

@@ -16,7 +16,7 @@ A curated collection of idiomatic design & application patterns for Go language.
| Pattern | Description | Status |
|:-------:|:----------- |:------:|
| [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 | |
| [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 | ✔ |
| [Singleton](/creational/singleton.md) | Restricts instantiation of a type to one object | ✔ |