Sobes.tech
Senior

¿Qué mostrará el programa? ¿Por qué? func main() { tiempoInicio := time.Now() _, _ = <-worker(), <-worker() println(int(time.Since(tiempoInicio).Seconds())) } func worker() chan int { ch := make(chan int) go func() { time.Sleep(3 * time.Second) ch <- 1 }() return ch }