c1 := make(chan string, 1) go func() { time.Sleep(time.Second * 2) c1 <- "result 1" }(). 다음은 select 로 구현한 타임아웃입니다. res := <-c1 은 결괏값을 ...
確定! 回上一頁