go-concurrency-guide
go-concurrency-guide copied to clipboard
Practical concurrency guide in Go, communication by channels, patterns
Results
1
go-concurrency-guide issues
Sort by
recently updated
recently updated
newest added
``` package main import ( "context" "fmt" "time" ) var ( sleep_time = []int{1, 2, 3, 4} ) func main() { create_n_goroutines_wait_until_one_is_done_and_exit(4) } func create_n_goroutines_wait_until_one_is_done_and_exit(n int) { ctx, cancel :=...