ptr

package
v1.78.3 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: BSD-3-Clause Imports: 0 Imported by: 33

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