pc

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2025 License: BSD-3-Clause Imports: 0 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL