From f41424b1d07e9d6d620ce41b6471e700f26bc7f2 Mon Sep 17 00:00:00 2001 From: Mark McGranaghan Date: Sun, 20 Oct 2013 14:35:58 -0700 Subject: [PATCH] Make the stateful gorouting a single block --- examples/stateful-goroutines/stateful-goroutines.go | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/stateful-goroutines/stateful-goroutines.go b/examples/stateful-goroutines/stateful-goroutines.go index 24ba0e5..6dce32b 100644 --- a/examples/stateful-goroutines/stateful-goroutines.go +++ b/examples/stateful-goroutines/stateful-goroutines.go @@ -56,7 +56,6 @@ func main() { // value in the case of `reads`). go func() { var state = make(map[int]int) - for { select { case read := <-reads: