ptr

package
v1.0.0-cli.0...-a3b83d0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

Package ptr contains a very small helper function to create pointers from specific non-pointer datatypes. This is to help with protobuf generated struct fields which require pointer values.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Pointer

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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