sync.WaitGroup sum := func(ch chan int) { defer wg.Done() time.Sleep(time.Second * 2) v1 := <-ch v2 := <-ch fmt.Printf("%d+%d=%d\n", v1, v2, v1+v2) } ch := make(chan int, 2) wg.Add(2) a, b := 10, 20 go sum(ch) go sum(ch) ch <- b ch <- a ch <- a ch <- b wg.Wait() } 出力はどうなるでしょうか