Back to the clean version
This commit is contained in:
parent
4c196c93d9
commit
37ffe3c870
@ -16,10 +16,8 @@ func fibonacci() func() int {
|
||||
}
|
||||
|
||||
func main() {
|
||||
f1 := fibonacci()
|
||||
f2 := fibonacci()
|
||||
f := fibonacci()
|
||||
for i := 0; i < 10; i++ {
|
||||
fmt.Println("f1 ->", f1())
|
||||
fmt.Println("f2 ->", f2())
|
||||
fmt.Println(f())
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user