pointers

package
v1.24.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromSlice

func FromSlice[S []E, P []*E, E any](s S) P

FromSlice returns a slice of pointers from the given slice s

func ToValues

func ToValues[S []E, P []*E, E any](p P) S

ToValues returns a slice of values from the given slice of pointers, p

Types

This section is empty.

Jump to

Keyboard shortcuts

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