xruntime

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2024 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RaceEnabled

func RaceEnabled() bool

Types

type Stack added in v0.0.2

type Stack struct {
	Frames []runtime.Frame
}

func GetCallStack added in v0.0.2

func GetCallStack(depth int) (stack Stack)

GetCallStack returns the stack starting from where GetCallStack and going back as deep as specified by depth. The xruntime.Stack value satisfies the stringer interface for ease of use in common programs..

func (Stack) String added in v0.0.2

func (stack Stack) String() string

Jump to

Keyboard shortcuts

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