package
Version:
v1.3.1
Opens a new window with list of versions in this module.
Published: Mar 5, 2022
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 81
Opens a new window with list of known importers.
Documentation
¶
func ForEach[T any](collection []T, iteratee func(T, int))
ForEach iterates over elements of collection and invokes iteratee for each element.
`iteratee` is call in parallel.
func Map[T any, R any](collection []T, iteratee func(T, int) R) []R
Map manipulates a slice and transforms it to a slice of another type.
`iteratee` is call in parallel. Result keep the same order.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.