ptr

package
v1.76.6 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: BSD-3-Clause Imports: 0 Imported by: 32

Documentation

Overview

Package ptr contains the ptr.To function.

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 a shallow copy of v.

Types

This section is empty.

Jump to

Keyboard shortcuts

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