To summarize. 

   - w package-level var is not going to be subject of modification while 
   being read. No problems to solve, carry on with package-level vars.
   - w package-level var is going to be subject of modification while being 
   read. Problems arise, stop using package-level vars. Solution: pass it 
   around. Ways: parameters, closures.


Please amend. Thanks.

-- 
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.

Reply via email to