Skip to content

Instantly share code, notes, and snippets.

@chespinoza
Created July 11, 2013 22:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chespinoza/5979705 to your computer and use it in GitHub Desktop.
Save chespinoza/5979705 to your computer and use it in GitHub Desktop.
A bored FIbonacci Generator
package main
import "fmt"
func main() {
for i, j := 0, 1; j < 100; i, j = i+j,i {
fmt.Println(i)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment