父級context定義了context,傳入到子級比如funca(){b,cancel:=context.WithTimeout(context.BackGround(),time.Second())cc(b)}funccc(ctxcontext.Context){select{case
請各位大佬指點!context包的withTimeout, withCancel之類的具體實用價值是啥感激不盡
慕桂英546537
2019-09-25 15:10:20