Description

func Fibonacci(n int) (res int) {

if n <= 1 {
	res = 1
} else {
	res = Fibonacci(n-1) + Fibonacci(n-2)
}
return

}

accepts a general operation op:

Fibonacci is referenced in 1 repository

github.com/Unknwon/the-way-to-go_ZH_CN