Make the stateful gorouting a single block

This commit is contained in:
Mark McGranaghan 2013-10-20 14:35:58 -07:00
parent 044d5b7238
commit f41424b1d0

View File

@ -56,7 +56,6 @@ func main() {
// value in the case of `reads`). // value in the case of `reads`).
go func() { go func() {
var state = make(map[int]int) var state = make(map[int]int)
for { for {
select { select {
case read := <-reads: case read := <-reads: