Generative Patterns

Patterns focused on spawning new goroutines, often involving channels or dynamic generation.

1. Generator

Simple value producer using goroutines and channels.

2. Fan In

Merging multiple inputs into one output.

3. Fan Out

Splitting one input to multiple outputs.

4. Pipeline

Series of stages connected by channels.


Table of contents


This site is open source! You can contribute or suggest changes by editing the GitHub repository.
Copyright © 2025. Distributed by an MIT license.