Documentation
¶
Overview ¶
Package pc provides access to the program counter to determine the caller of a function.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCaller ¶
func GetCaller() uintptr
GetCaller returns the program counter of the caller's caller.
func GetCallerSkip1 ¶ added in v0.4.0
func GetCallerSkip1() uintptr
GetCallerSkip1 is similar to GetCaller, but skips an additional caller.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.