utils

package
v0.0.0-...-18a74ac Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2014 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Panic

func Panic(format string, v ...interface{})

func TraceError

func TraceError(err error) error

func TraceErrorf

func TraceErrorf(format string, v ...interface{}) error

Types

type StackRecord

type StackRecord struct {
	Name string
	File string
	Line int
}

func Caller

func Caller(skip int) (*StackRecord, bool)

func Trace

func Trace(skip, depth int) (records []*StackRecord, full bool)

func (*StackRecord) String

func (r *StackRecord) String() string

Jump to

Keyboard shortcuts

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