ptr

package
v6.2.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package ptr helps with creating pointers to literal values of any type.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func To

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

To returns a pointer to the given v of any type.

Types

This section is empty.

Jump to

Keyboard shortcuts

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