diff --git a/examples/stateful-goroutines/stateful-goroutines.hash b/examples/stateful-goroutines/stateful-goroutines.hash index 1d50d4a..91c1719 100644 --- a/examples/stateful-goroutines/stateful-goroutines.hash +++ b/examples/stateful-goroutines/stateful-goroutines.hash @@ -1,2 +1,2 @@ -0005e59edec522954b80e46279a207aa7f80df59 -8Qxa8MHXAv +9b7362872b9984296fd919441c2b6928ae0d70c1 +qHTT2jOKkS diff --git a/public/stateful-goroutines b/public/stateful-goroutines index 9fa5dc2..7d97880 100644 --- a/public/stateful-goroutines +++ b/public/stateful-goroutines @@ -46,7 +46,7 @@ by exactly 1 goroutine.

- +
package main
 
@@ -156,18 +156,7 @@ value in the case of reads).

    go func() {
         var state = make(map[int]int)
-
- - - - - - - - - - -
        for {
+        for {
             select {
             case read := <-reads:
                 read.resp <- state[read.key]