On Wed, Mar 22, 2017 at 8:51 PM, T L <tapir....@gmail.com> wrote: > > More accurately, I think it should be: from the POV of a programmer, it's > globals, and things reachable from each goroutine. >
The only way to reach a value is through a variable in scope and the only variables in scope are global or on the stack. 'heap pointers of local allocated memory blocks' are stored where ever you put them, but you can only put them in places you can find by using global or local stack variables. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.