Fixed minor typography errors in the readme file.
This commit is contained in:
parent
08c61fdfc8
commit
f1ad079ec6
@ -52,7 +52,7 @@ Provide an interface for creating famili es of related or dependent objects with
|
|||||||
specifying their concrete classes.
|
specifying their concrete classes.
|
||||||
|
|
||||||
### Prototype
|
### Prototype
|
||||||
Specify the kinds of objects to create using a prototypical instance, and create new objects by copying this protoype.
|
Specify the kinds of objects to create using a prototypical instance, and create new objects by copying this prototype.
|
||||||
|
|
||||||
## Structural patterns
|
## Structural patterns
|
||||||
Structural patterns are concerned with how classes and objects are composed to form
|
Structural patterns are concerned with how classes and objects are composed to form
|
||||||
@ -87,7 +87,7 @@ object a chance to handle the request. Chain the receiving objects and pass the
|
|||||||
request along the chain until an object handles it.
|
request along the chain until an object handles it.
|
||||||
|
|
||||||
### Strategy
|
### Strategy
|
||||||
Define a family oafl gorit h ms, encapsulate each one, and make them interchangeable.
|
Define a family of algorithms, encapsulate each one, and make them interchangeable.
|
||||||
Strategy lets the algorithm vary independently from clients that use it.
|
Strategy lets the algorithm vary independently from clients that use it.
|
||||||
|
|
||||||
### Observer
|
### Observer
|
||||||
@ -108,7 +108,7 @@ Define the skeleton of an algorithm in an operation, deferring some steps to sub
|
|||||||
### Memento
|
### Memento
|
||||||
Without violating encapsulation, capture and externalize an object's internal state so that the object can be restored to this state later.
|
Without violating encapsulation, capture and externalize an object's internal state so that the object can be restored to this state later.
|
||||||
|
|
||||||
### Interpretor
|
### Interpreter
|
||||||
Given a language, define a representation for its grammar along with an interpreter that uses the representation to interpret sentences in the language.
|
Given a language, define a representation for its grammar along with an interpreter that uses the representation to interpret sentences in the language.
|
||||||
|
|
||||||
### Iterator (Cursor)
|
### Iterator (Cursor)
|
||||||
@ -118,4 +118,4 @@ Provide a way to access the elements of an aggregate object sequentially without
|
|||||||
Encapsulate a request as an object, thereby letting you parametrize clients with different requests, and support undoable operations.
|
Encapsulate a request as an object, thereby letting you parametrize clients with different requests, and support undoable operations.
|
||||||
|
|
||||||
## Concurrency patterns
|
## Concurrency patterns
|
||||||
Pattenrs for concurrent work and parallel execution in Go.
|
Patterns for concurrent work and parallel execution in Go.
|
||||||
|
Reference in New Issue
Block a user