slice

package
v1.5.11 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: GPL-3.0 Imports: 0 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractValue added in v1.4.4

func ExtractValue[T any, R any](s []T, addTo func(v T) (R, bool)) []R

func RemoveRepeatElement

func RemoveRepeatElement[T comparable](elements []T) []T

func ToMap added in v1.1.4

func ToMap[S any, K comparable, V any](slice []S, fn func(sliceValue S) (K, V, error)) (map[K]V, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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