trace

package
v0.0.0-...-13a9703 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Record

type Record struct {
	Name string
	File string
	Line int
}

func Caller

func Caller(skip int) *Record

func (*Record) String

func (r *Record) String() string

type Stack

type Stack []*Record

func Trace

func Trace() Stack

func TraceN

func TraceN(skip, depth int) Stack

func (Stack) String

func (s Stack) String() string

func (Stack) StringWithIndent

func (s Stack) StringWithIndent(indent int) string

Jump to

Keyboard shortcuts

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