L1nSn0w a08a8f4162 Revise chapter 5.6 on anonymous functions and closures
This section introduces anonymous functions in Go, explaining their syntax, usage, and implications in terms of closures and lexical environments. It also discusses common pitfalls related to variable capture in loops and provides examples of breadth-first search and topological sorting.
2025-09-02 15:44:42 +08:00
2024-08-13 08:15:19 +08:00
2018-05-27 17:56:55 -04:00
2024-05-28 19:12:37 +08:00
2024-10-09 20:45:11 +08:00
2023-11-27 00:39:21 -06:00
2022-08-31 16:00:17 +08:00
2022-10-08 13:52:56 +08:00
2023-07-22 15:11:55 +08:00
2022-08-04 15:15:13 +08:00
2022-10-23 01:16:04 +08:00
2022-08-04 15:15:13 +08:00
2022-08-04 15:15:13 +08:00
2022-08-04 14:58:52 +08:00
2022-08-04 14:58:52 +08:00
2016-02-17 15:21:15 +08:00
2022-08-04 15:15:13 +08:00
2022-08-04 14:58:52 +08:00
2022-08-04 14:58:52 +08:00
2022-08-04 14:58:52 +08:00
2025-07-28 12:56:18 +08:00
2022-08-04 14:58:52 +08:00
2018-05-27 17:56:55 -04:00
2016-06-20 17:18:00 +08:00
2022-08-04 15:15:13 +08:00
2022-08-04 14:58:52 +08:00
2016-01-21 10:51:20 +08:00
2022-08-04 15:15:13 +08:00
2023-06-27 01:42:08 +08:00
2015-12-09 15:45:11 +08:00
2024-08-13 08:15:19 +08:00
2023-06-27 01:37:50 +08:00
2024-10-27 10:32:41 +08:00
2024-08-13 08:15:19 +08:00
2023-06-27 01:30:35 +08:00
2018-08-07 14:34:48 +08:00

Go语言圣经中文版


Go语言圣经 《The Go Programming Language》 中文版本仅供学习交流之用。对于希望学习CGO、Go汇编语言等高级用法的同学我们推荐《Go语言高级编程》开源图书。如果希望深入学习Go语言语法树结构可以参考《Go语法树入门——开启自制编程语言和编译器之旅》。如果想从头实现一个玩具Go语言可以参考《从头实现µGo语言》µGo 是 凹语言 阶段的产物)。

译者信息:

Go 语言中国:

关注微信公众号

注意,在线预览不是最新版,最新以仓库里的内容为准

版权声明

Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License

Creative Commons License

严禁任何商业行为使用或引用该文档的全部或部分内容!

欢迎大家提供建议!

Description
No description provided
Readme BSD-3-Clause 42 MiB
Languages
Go 86.4%
Makefile 13.6%