implemented template pattern
This commit is contained in:
		@@ -24,6 +24,7 @@
 | 
				
			|||||||
    - [State](#state)
 | 
					    - [State](#state)
 | 
				
			||||||
    - [Visitor](#visitor)
 | 
					    - [Visitor](#visitor)
 | 
				
			||||||
    - [Mediator](#mediator)
 | 
					    - [Mediator](#mediator)
 | 
				
			||||||
 | 
					    - [Template](#template)
 | 
				
			||||||
- [Concurrency patterns](#concurrency-patterns)
 | 
					- [Concurrency patterns](#concurrency-patterns)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
@@ -94,5 +95,8 @@ Represent an operation to be performed on the elements of an object structure.Vi
 | 
				
			|||||||
### Mediator
 | 
					### Mediator
 | 
				
			||||||
Define an object that encapsulates how a set of objects interact.Mediator promotes loose coupling by keeping objects from referring to each other explicitly, and it lets you vary their interaction independently
 | 
					Define an object that encapsulates how a set of objects interact.Mediator promotes loose coupling by keeping objects from referring to each other explicitly, and it lets you vary their interaction independently
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### Template
 | 
				
			||||||
 | 
					Define the skeleton of an algorithm in an operation, deferring some steps to subclasses. Template method lets subclasses redefine certain steps of an algorithm without changing the algorithm structure.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Concurrency patterns
 | 
					## Concurrency patterns
 | 
				
			||||||
Pattenrs for concurrent work and parallel execution in Go.
 | 
					Pattenrs for concurrent work and parallel execution in Go.
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user