Rob Pike d38ed2a9f2 doc/effective_go: fix server example that shares var between goroutines
Use it as a teaching example about how to solve this problem.

Fixes #6501

R=golang-dev, adg, rsc
CC=golang-dev
https://golang.org/cl/14250043
2013-10-02 11:35:25 -07:00
..
2013-08-13 15:08:10 +10:00
2013-06-20 14:49:15 -07:00
2013-06-20 14:49:15 -07:00
2013-10-02 11:46:44 +10:00
2010-09-16 14:01:02 +10:00
2009-10-30 10:34:01 -07:00
2012-03-27 09:27:43 +11:00