Posted in

Go变量作用域的7层嵌套规则,官方文档没写的lexical scope边界判定逻辑(含go tool compile -S反汇编验证)

第一章:Go变量作用域的七层嵌套 … Go变量作用域的7层嵌套规则,官方文档没写的lexical scope边界判定逻辑(含go tool compile -S反汇编验证)Read more

Posted in

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