collection

package
v0.0.0-...-d59ed34 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Extend

func Extend[T any](elems ...[]T) []T

Extend appends all the elements of slices to a new slice

func Map

func Map[T1, T2 any](s []T1, fn func(T1) T2) []T2

Map returns the slice obtained after applying the given function over every element in the given slice

func Remove

func Remove[T comparable](a []T, items ...T) []T

Remove removes items from the given(a) slice

Types

This section is empty.

Jump to

Keyboard shortcuts

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