Documentation ¶
Overview ¶
Provide utility to get stack trace.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Location ¶
type Location struct {
// contains filtered or unexported fields
}
Single location of the trace
func FilterByPkgs ¶ added in v2.0.11
Filter the locations slice by pkg prefix
func Get ¶
Get return list of location of stack trace for calling function.
skip tell Get to skip some trace, 0 is where Get is called. deep tell Get how deep the stack trace is.
Click to show internal directories.
Click to hide internal directories.