From c662818d233c87cf91f1e5ab31347b6df228316b Mon Sep 17 00:00:00 2001 From: Ashish Gaur Date: Tue, 7 Jun 2022 17:53:40 +0530 Subject: [PATCH] Changes 'the' to 'then' in stateful goroutine example (#427) * Changes 'the' to 'then' in stateful goroutine example * Run tools/build to update HTML --- examples/stateful-goroutines/stateful-goroutines.go | 2 +- examples/stateful-goroutines/stateful-goroutines.hash | 4 ++-- public/stateful-goroutines | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/stateful-goroutines/stateful-goroutines.go b/examples/stateful-goroutines/stateful-goroutines.go index cb8b347..11a6f08 100644 --- a/examples/stateful-goroutines/stateful-goroutines.go +++ b/examples/stateful-goroutines/stateful-goroutines.go @@ -71,7 +71,7 @@ func main() { // This starts 100 goroutines to issue reads to the // state-owning goroutine via the `reads` channel. // Each read requires constructing a `readOp`, sending - // it over the `reads` channel, and the receiving the + // it over the `reads` channel, and then receiving the // result over the provided `resp` channel. for r := 0; r < 100; r++ { go func() { diff --git a/examples/stateful-goroutines/stateful-goroutines.hash b/examples/stateful-goroutines/stateful-goroutines.hash index a5b475c..0ed448f 100644 --- a/examples/stateful-goroutines/stateful-goroutines.hash +++ b/examples/stateful-goroutines/stateful-goroutines.hash @@ -1,2 +1,2 @@ -9c73569ad2e16252b04fe171618db4c5fd09efb7 -5mf_P9xqBzk +04a59d09868df58e9edf5930d38efd25cbb92861 +TBcWd-OfnaA diff --git a/public/stateful-goroutines b/public/stateful-goroutines index 9a135a2..119f08b 100644 --- a/public/stateful-goroutines +++ b/public/stateful-goroutines @@ -48,7 +48,7 @@ by exactly 1 goroutine.

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

This starts 100 goroutines to issue reads to the state-owning goroutine via the reads channel. Each read requires constructing a readOp, sending -it over the reads channel, and the receiving the +it over the reads channel, and then receiving the result over the provided resp channel.