Go 时间在哪里。睡眠函数声明?
以下是Go core库的Go 时间在哪里。睡眠函数声明?,go,Go,以下是Go core库的time包中文件的第一行: // 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
time
包中文件的第一行:
// 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的声明?它在哪里?它在里面
请参阅,以了解其位于中的go:linkname
的详细信息
有关go:linkname
的详细信息,请参阅。我找到了这个:,它可能会帮助您……我找到了这个:,它可能会帮助您。。。