github.com/petermattis/goid


License
Apache-2.0
Install
go get github.com/petermattis/goid

Documentation

goid Build Status

Programatically retrieve the current goroutine's ID. See the CI configuration for supported Go versions.