父級context定義了context,傳入到子級比如funca(){b,cancel:=context.WithTimeout(context.BackGround(),time.Second())cc(b)}funccc(ctxcontext.Context){select{case
context包的withTimeout, withCancel之類的具體實用價值是啥大佬們有什么好的建議?
慕森王
2019-10-08 10:46:49