ptr

package
v1.0.75 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2026 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Address

func Address[T any](ptr *T) uintptr

Address returns the address of the given pointer

func Of

func Of[T any](value T) *T

Of returns a pointer to the given value (creates a copy if value is a direct Golang value: int, string, struct, etc.)

Types

This section is empty.

Jump to

Keyboard shortcuts

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