You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Generator](https://en.wikipedia.org/wiki/Generator_(computer_programming))is a special routine that can be used to control the iteration behavior of a loop.
3
+
[Generators](https://en.wikipedia.org/wiki/Generator_(computer_programming))yields a sequence of values one at a time
4
4
5
5
# Implementation and Example
6
-
With Go language, we can implement generator in two ways: channel and closure. Fibonacci number generation example can be found in [generators.go](generators.go).
6
+
7
+
You can find the implementation and usage in [generator.go](generator.go)
0 commit comments