首页 > TAG信息列表 > timeAfter
timeAfter()
time.After() 1. time.After()官方解释 刚开始学习时,time包里sleep最常用,在学习context时,突然看到一个time.after,首先是time包的定义: // After waits for the duration to elapse and then sends the current time // on the returned channel. // It is equivalent to NewTimer(d