原书出处
深入浅出Go语言编程从原理解析到实战进阶 (阮正平杜军)
11 函数
type intGen func() int //函数的返回值由func() int变为 intGen func Fibonacci() intGen { a, b := 0, 1 return func() int { a, b = b, a+b return a } } 另外
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/深入浅出Go语言编程从原理解析到实战进阶 (阮正平杜军)/_epub-src/EPUB/xhtml/Section0014_0005.xhtml
EPUB SHA-256:41cf7321c4445b4eba8a164e67c89e136c2acb99dc3480389d87b16c91db77a9