文章目录 匿名函数 匿名函数作为参数 执行匿名函数 闭包 引用传递 值传递 匿名函数 匿名函数作为参数 // example 1 func main() { aaa := func() { //... fmt.