我找到的一些相关帖子:
还有许多用于变量范围和阴影的用例. 任何代码示例或答案将不胜感激.
scope go shadowing lexical-scope
go ×1
lexical-scope ×1
scope ×1
shadowing ×1