Changes 'the' to 'then' in stateful goroutine example

This commit is contained in:
ashish91 2022-06-05 20:06:23 +05:30 committed by Ashish Gaur
parent da13e2fbe7
commit d9bdd53106

View File

@ -71,7 +71,7 @@ func main() {
// This starts 100 goroutines to issue reads to the // This starts 100 goroutines to issue reads to the
// state-owning goroutine via the `reads` channel. // state-owning goroutine via the `reads` channel.
// Each read requires constructing a `readOp`, sending // 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. // result over the provided `resp` channel.
for r := 0; r < 100; r++ { for r := 0; r < 100; r++ {
go func() { go func() {