1
0
mirror of https://github.com/tmrts/go-patterns.git synced 2024-11-22 04:56:09 +03:00
go-patterns/concurrency/generator.md

8 lines
245 B
Markdown
Raw Normal View History

# Generator Pattern
[Generators](https://en.wikipedia.org/wiki/Generator_(computer_programming)) yields a sequence of values one at a time
# Implementation and Example
You can find the implementation and usage in [generator.go](generator.go)