]> Cypherpunks repositories - gostls13.git/commit
doc/effective_go: fix server example that shares var between goroutines
authorRob Pike <r@golang.org>
Wed, 2 Oct 2013 18:35:25 +0000 (11:35 -0700)
committerRob Pike <r@golang.org>
Wed, 2 Oct 2013 18:35:25 +0000 (11:35 -0700)
commitd38ed2a9f224dbc79adbed4fe49fe2aef137bf5b
tree8022f38717302063dee0e9f474772440c83028c8
parent1b0bffa9737b906ebf9da3f5062c881431aa6397
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
doc/effective_go.html