Help us shape the future of Go! Take the 2026 Go Developer Survey

sliceutil

package
v2.53.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Transform added in v2.25.0

func Transform[Slice ~[]E, E any, R any](s Slice, fn func(e E) R) []R

Transform each element of the given slice and returns a new slice with the result.

Experimental: `exp` package is experimental, breaking changes may occur within minor releases.

Types

This section is empty.

Jump to

Keyboard shortcuts

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