以下是Go核心库的time
包中文件sleep.go
的第一行:
// Sleep pauses the current goroutine for at least the duration d.
// A negative or zero duration causes Sleep to return immediately.
func Sleep(d Duration)
// runtimeNano returns the current value of the runtime clock in nanoseconds.
func runtimeNano() int64
为什么这里没有声明函数time.Sleep
?它在哪里?