env

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Device

func Device() (program, host string)

Device returns the device parameters.

func GoroutineID

func GoroutineID() string

GoroutineID returns goroutine ID. Taken from https://blog.sgmansfield.com/2015/12/goroutine-ids/

func Runtime

func Runtime() string

Runtime returns the runtime parameters.

func StackTrace

func StackTrace(skip int) string

StackTrace returns the stack trace, skipping the top most calls.

Types

This section is empty.

Jump to

Keyboard shortcuts

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