Sobes.tech
Senior

Šta će program prikazati? Zašto? func main() { početakVremena := time.Now() _, _ = <-worker(), <-worker() println(int(time.Since(početakVremena).Seconds())) } func worker() chan int { ch := make(chan int) go func() { time.Sleep(3 * time.Second) ch <- 1 }() return ch }