ptr

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package ptr provides a simple way to get the pointer of a value.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ref

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

Ref returns the pointer of the value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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