1 parent f4064fb commit 9bc66e8Copy full SHA for 9bc66e8
1 file changed
chapter6/example10/example10.go
@@ -41,7 +41,7 @@ func main() {
41
tasks <- fmt.Sprintf("Task : %d", post)
42
}
43
44
- // Close the channel so the goroutine will quit
+ // Close the channel so the goroutines will quit
45
// when all the work is done.
46
close(tasks)
47
0 commit comments