摘要: note.. 1. example based on channel func shouldAbort(timeout time.Duration, ch chan<- bool) { time.Sleep(timeout) ch <- true } func TestMethod() bool { 阅读全文
posted @ 2019-12-02 21:39 森淼clover 阅读(146) 评论(0) 推荐(0) 编辑