# 实现 Fibonacci 数列
1, 1, 2, 3, 5, 8, 13, ...
示例:
package fib
import (
"fmt"
"testing"
)
func TestFirstTest(t *testing.T) {
var a int = 1
var b int = 2
t.Log(a)
for i := 0; i < 5; i++ {
t.Log(" ", b)
tmp := a
a = b
b = tmp + a
}
t.Log()
}