xruntime

package module
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 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 CallStack added in v0.0.5

func CallStack(depth int) (stack Stack)

CallStack returns the stack starting from where CallStack and going back as deep as specified by depth. The xruntime.Stack value satisfies the stringer interface for ease of use in common programs. If depth is less than 1 it defaults to a max depth of 100.

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