package goid
import "gvisor.dev/gvisor/pkg/goid"
Package goid provides the Get function.
Index ¶
Functions ¶
func Get ¶
func Get() int64
Get returns the ID of the current goroutine.
Source Files ¶
goid.go
- Version
- v0.0.0-20250726022846-8a89a2fab4a2 (latest)
- Published
- Jul 26, 2025
- Platform
- linux/amd64
- Imports
- 1 packages
- Last checked
- 1 day ago –
Tools for package owners.