From 7cda9422a1ac959b5aa0060778c38677136fb77b Mon Sep 17 00:00:00 2001 From: ismayilmalik Date: Tue, 16 Jan 2018 23:40:27 +0300 Subject: [PATCH] implemented template pattern --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 7d737ca..a2aa116 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,7 @@ - [State](#state) - [Visitor](#visitor) - [Mediator](#mediator) + - [Template](#template) - [Concurrency patterns](#concurrency-patterns) --- @@ -94,5 +95,8 @@ Represent an operation to be performed on the elements of an object structure.Vi ### 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 +### 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 Pattenrs for concurrent work and parallel execution in Go.