changkun / goid

retrieve a goroutine id in Go 1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

goid

goid retrieves a goroutine id on user land that supports all Go 1 versions.

Usage

Use it with care:

id := goid.Get()

License

MIT © Changkun

About

retrieve a goroutine id in Go 1

License:MIT License


Languages

Language:Go 100.0%