Commit Graph
2 Commits
Author SHA1 Message Date
L1nSn0wandGitHub 1ed9861965 Document conditions for implementing interfaces
Add section on interface implementation conditions
2025-09-03 09:10:55 +08:00
L1nSn0wandGitHub 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