Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FuncName ¶
FuncName given a runtime function spec returns a short function name in format `<package name>.<function name>` or if the function has a receiver in format `<package name>.(<receiver>).<function name>`.
func GetCallStack ¶
func GetCallStack(frames pkgerrors.StackTrace) string
Types ¶
type CallStack ¶
type CallStack []uintptr
CallStack represents a stack of program counters.
func (*CallStack) StackTrace ¶
func (cs *CallStack) StackTrace() pkgerrors.StackTrace
type FrameInfo ¶
func GetLastFrame ¶
func GetLastFrame(frames pkgerrors.StackTrace) FrameInfo
GetLastFrame returns Caller information on the first frame in the stack trace.
type HasStackTrace ¶
type HasStackTrace interface {
StackTrace() pkgerrors.StackTrace
}
Click to show internal directories.
Click to hide internal directories.