jimbotech

command
v0.0.0-...-cf576ff Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

README

Fibonacci Number Generator

Overview

As part of the ANZ "go" course the first lab is to produce a piece of software that will produce the Fibonacci series for fib(7). It was also an exercise in the tour.golang.org.

Generating the series was implemented as "closure" which was a requirement in the tour-golang . There are other ways to solve this problem, but I kept it as an example of closure for later reference.

The function maintains state and hence has to be called sequentially.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL