goid

package module
v0.0.0-...-39b0b2a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2016 License: MIT Imports: 0 Imported by: 1

README

goid

Documentation

Overview

Package goid returns information about where the current code is executing. Do not use this package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GoroutineID

func GoroutineID() int64

GoroutineID returns the ID of the currently executing goroutine.

func ProcID

func ProcID() int32

ProcID returns the ID of the specific GOPROC that is executing this goroutine. If GOMAXPROCS is set to n, the returned ID may be [0,n).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL