astidebug

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DebugStack = func() []byte {
	return debug.Stack()
}

DebugStack allows testing functions using it

Functions

This section is empty.

Types

type Stack

type Stack []StackItem

Stack represents a stack

func NewStack

func NewStack() (o Stack)

NewStack returns a new stack

type StackItem

type StackItem struct {
	Filename string
	Function string
	Line     int
}

StackItem represents a stack item

func (StackItem) String

func (i StackItem) String() string

String allows StackItem to implement the Stringer interface

Jump to

Keyboard shortcuts

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