the number of goroutines that currently exist 当前 goroutine协程数量
Go\src\runtime\debug.go
// NumGoroutine returns the number of goroutines that currently exist.
func NumGoroutine() int {
return int(gcount())
}
Go\src\runtime\debug.go