go如何实时监测当前进程生成的goroutine协程数量
Oct 25, 2021
1 min read
runtime.NumGoroutine()
返回当前的运行时的go协程数。