1
0
Fork 0
mirror of https://github.com/tmrts/go-patterns.git synced 2025-04-11 21:10:55 +00:00
go-patterns/concurrency/generator.md
mehdy 53cda60872 concurrency/generator: added generator pattern
added the generator pattern and implementation using channel
2016-09-07 11:18:35 +04:30

245 B

Generator Pattern

Generators yields a sequence of values one at a time

Implementation and Example

You can find the implementation and usage in generator.go