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-20250605235530-a6711d1e1dc6 (latest)
Published
Jun 5, 2025
Platform
linux/amd64
Imports
1 packages
Last checked
4 hours ago

Tools for package owners.