Build a Configurable Chain of Responsibility in Go
Use the Chain of Responsibility design pattern to modify app behavior based on configuration changes
Published in
5 min readApr 20, 2021
Chain of Responsibility or Chain of Command is a design pattern that lets you pass requests along a chain of Handlers
. Each Handler
decides to process the request and enrich it or pass it to the next Handler
.