Posted in Go语言基础和工具链Go变量作用域的5层边界:lexical scope、package scope、function scope、goroutine scope、module scope——你只懂前3层? 第一章:Go变量作用域的五层边界 … Go变量作用域的5层边界:lexical scope、package scope、function scope、goroutine scope、module scope——你只懂前3层?Read more by Gopher老张|2026年1月30日|Scopes, 多个package, Go语言作用域错误, function警告, Go变量作用域问题, lexical