Sobes.tech
Senior

Proqram nə göstərəcək? Niyə? func main() { vaxtBaşlangıc := time.Now() _, _ = <-worker(), <-worker() println(int(time.Since(vaxtBaşlangıc).Seconds())) } func worker() chan int { ch := make(chan int) go func() { time.Sleep(3 * time.Second) ch <- 1 }() return ch }