Glossary: Software Design Patterns in Go
Hook
Also written: hooks
The step a template method leaves for the caller to supply. In Go the simplest hook is a function passed in, such as `formatRow` in `makeReport`.
Glossary: Software Design Patterns in Go
Also written: hooks
The step a template method leaves for the caller to supply. In Go the simplest hook is a function passed in, such as `formatRow` in `makeReport`.