Update examples/channel-synchronization/channel-synchronization.go
Co-Authored-By: Mark McGranaghan <mmcgrana@gmail.com>
This commit is contained in:
parent
43ff608b7e
commit
705f713db2
@ -2,7 +2,7 @@
|
|||||||
// across goroutines. Here's an example of using a
|
// across goroutines. Here's an example of using a
|
||||||
// blocking receive to wait for a goroutine to finish.
|
// blocking receive to wait for a goroutine to finish.
|
||||||
// When waiting for multiple goroutines to finish,
|
// When waiting for multiple goroutines to finish,
|
||||||
// you may prefer to [use a WaitGroup](waiting-for-goroutines-to-finish).
|
// you may prefer to use a [WaitGroup](waiting-for-goroutines-to-finish).
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user