Dynamically scoped variables in Go
https://dave.cheney.net/2019/12/08/dynamically-scoped-variables-in-go [dave.cheney.net]
2019-12-12 06:56
What we want is to be able to access a variable whose declaration is neither global, or local to the function, but somewhere higher in the call stack. This is called dynamic scoping. Go doesn’t support dynamic scoping, but it turns out, for restricted cases, we can fake it.