ptr

package
v1.6.2 Latest Latest
Warning

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

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

Documentation

Overview

Package ptr provides helper functions to get pointers to basic types.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Point added in v1.6.0

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

Point returns a pointer to the given value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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