Documentation ¶ Index ¶ type Depth type Stack func Callers(skip int, depth Depth) *Stack func (st *Stack) Format(s fmt.State, verb rune) func (st *Stack) Frames() []runtime.Frame func (st *Stack) Free() func (st *Stack) Next() (_ runtime.Frame, more bool) func (st *Stack) String() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Depth ¶ type Depth int const ( // First captures only the first frame. First Depth = iota // Full captures the entire call stack, allocating more // storage for it if needed. Full ) type Stack ¶ type Stack struct { // contains filtered or unexported fields } func Callers ¶ func Callers(skip int, depth Depth) *Stack func (*Stack) Format ¶ func (st *Stack) Format(s fmt.State, verb rune) func (*Stack) Frames ¶ func (st *Stack) Frames() []runtime.Frame func (*Stack) Free ¶ func (st *Stack) Free() func (*Stack) Next ¶ func (st *Stack) Next() (_ runtime.Frame, more bool) func (*Stack) String ¶ func (st *Stack) String() string Source Files ¶ View all Source files stack.go Click to show internal directories. Click to hide internal directories.