ptr

package
v1.16.7 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package ptr provides helper functions for working with pointers.

Index

Constants

This section is empty.

Variables

View Source
var (
	Zero16 = New[uint16](0)
	Zero32 = New[uint32](0)
	Zero64 = New[uint64](0)
)

Functions

func New

func New[T any](v T) *T

func Str

func Str[T any](v *T) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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