gvisorgvisor.dev/gvisor/pkg/goid Index | Files

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-20250702182429-85e76111eb28 (latest)
Published
Jul 2, 2025
Platform
linux/amd64
Imports
1 packages
Last checked
4 hours ago

Tools for package owners.