Registry / utility / petermattis-goid

petermattis-goid

JSON →
library0.0.0-20260330135022-df67b199bc81gogounverified

Package goid provides functions to retrieve the goroutine ID.

go get github.com/petermattis/goid
INSTALL
IMPORT
SIG · PETERMATTIS-GOID
P
petermattis-goid
utilitygov0.0.0-20260330135022-df67b199bc81
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

goid
✓ github.com/petermattis/goid

Retrieve the current goroutine ID.

package main import ( "fmt" "github.com/petermattis/goid" ) func main() { fmt.Println(goid.Get()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20260330135022-df67b199bc81latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
petermattis-goid — go get petermattis-goid · libregistry