Go 时间在哪里。睡眠函数声明?

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

以下是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 nanoseconds.
func runtimeNano() int64
为什么这里没有函数
time.Sleep的声明?它在哪里?

它在里面

请参阅,以了解其位于中的
go:linkname

的详细信息

有关
go:linkname

的详细信息,请参阅。我找到了这个:,它可能会帮助您……我找到了这个:,它可能会帮助您。。。