Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Caller ¶
type Caller interface {
// File returns the file in which the call occurred.
File() string
// Func returns the name of the function in which the call occurred.
Func() string
// Line returns the line number in the file in which the call occurred.
Line() int
// Pc returns the program counter.
Pc() uintptr
// Trace returns the call stack.
Trace() Trace
}
Caller defines an interface to runtime caller results.
Click to show internal directories.
Click to hide internal directories.