slices

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ptrs

func Ptrs[T any](s []T) iter.Seq[*T]

Ptrs returns a sequence that yields pointers to each element of s.

func Ptrs2

func Ptrs2[T any](s []T) iter.Seq2[int, *T]

Ptrs2 returns a sequence that yields index and pointer to each element of s.

Types

This section is empty.

Jump to

Keyboard shortcuts

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