Documentation ¶ Index ¶ func CallerName(skip int) string func Recover(fn func()) error type FrameData func Frame(skip int) FrameData Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func CallerName ¶ func CallerName(skip int) string CallerName returns the name of the function calling this method. Use the `skip` parameter to go ignore stack frames. This function already ignores its own frame. func Recover ¶ func Recover(fn func()) error Types ¶ type FrameData ¶ type FrameData struct { Caller string Filename string Line int } func Frame ¶ func Frame(skip int) FrameData Source Files ¶ View all Source files recover.go runtime.go Click to show internal directories. Click to hide internal directories.