Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Func ¶
type Func struct { // Name of the function. Name string // Name of the package in which this function is defined. Package string // Path to the file in which this function is defined. File string // Line number in the file at which this function is defined. Line int }
Func contains runtime information about a function.
func InspectFunc ¶
func InspectFunc(function interface{}) *Func
InspectFunc inspects and returns runtime information about the given function.
func InspectFuncPC ¶
InspectFuncPC inspects and returns runtime information about the function at the given program counter address.
Click to show internal directories.
Click to hide internal directories.