Added line header to print line results.

This commit is contained in:
markhughes248 2020-02-06 07:05:29 -05:00 committed by GitHub
parent c7e15d664a
commit 3b632be7a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,6 +49,6 @@ func main() {
// finished. An alternative way to wait for multiple
// goroutines is to use a [WaitGroup](waitgroups).
for a := 1; a <= numJobs; a++ {
fmt.Println( <- results )
fmt.Println( "results", <- results )
}
}