sliceutils

package
v0.0.0-...-ec4088c Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package sliceutils provides utility functions for working with slices.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Map

func Map[T, R any](f func(T) R, s []T) []R

Map applies the function f to each element in the slice s and returns a new slice containing the results.

Types

This section is empty.

Jump to

Keyboard shortcuts

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