mirror of
https://github.com/tursom/GoCollections.git
synced 2025-03-16 11:00:14 +08:00
8 lines
109 B
Go
8 lines
109 B
Go
|
package concurrent
|
||
|
|
||
|
import "github.com/petermattis/goid"
|
||
|
|
||
|
func GetGoroutineID() int64 {
|
||
|
return goid.Get()
|
||
|
}
|