ptr

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: Apache-2.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IntPtr

func IntPtr(i int) *int

IntPtr returns a pointer for the provided int

func Pointer added in v0.1.1

func Pointer[K any](val K) *K

Pointer convert any input value to pointer

func Uint32Ptr added in v0.0.20

func Uint32Ptr(i uint32) *uint32

Uint32Ptr returns a pointer for the provided uint32

func Uint64Ptr added in v0.0.20

func Uint64Ptr(i uint64) *uint64

Uint64Ptr returns a pointer for the provided uint64

Types

This section is empty.

Jump to

Keyboard shortcuts

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