Changes 'the' to 'then' in stateful goroutine example
This commit is contained in:
parent
da13e2fbe7
commit
d9bdd53106
@ -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() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user