golang 的休眠可以使用time包中的sleep。 函数原型为: func Sleep(d Duration). 1. 其中的Duration定义为: type Duration int64. 1. Duration的单位为nanosecond。
確定! 回上一頁