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