README ¶ goid Programatically retrieve the current goroutine's ID. See the CI configuration for supported Go versions. In addition, gccgo 7.2.1 (Go 1.8.3) is supported. Expand ▾ Collapse ▴ Documentation ¶ Rendered for linux/amd64 windows/amd64 darwin/amd64 js/wasm Index ¶ func ExtractGID(s []byte) int64 func Get() int64 func GetPid() int Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ExtractGID ¶ func ExtractGID(s []byte) int64 func Get ¶ func Get() int64 func GetPid ¶ added in v0.0.2 func GetPid() int Types ¶ This section is empty. Source Files ¶ View all Source files goid.go goid_go1.5_amd64.go os_linux.go p_m_go1.19.go pid_go1.5.go runtime_go1.9.go Click to show internal directories. Click to hide internal directories.