Discover Packages
github.com/Gobusters/ectolinq
ectoparallel
package
Version:
v1.0.3
Opens a new window with list of versions in this module.
Published: Apr 5, 2025
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
func Filter[T any ](slice []T, fn func(T) bool ) []T
Filter removes all elements from an array that satisfy the predicate in parallel
items: The array to filter
predicate: The predicate to test each element against
func ForEach[T any ](slice []T, fn func(T))
ForEach executes an action for each element in the array in parallel
items: The array to iterate
action: The action to perform on each element
func Map[T any , U any ](slice []T, fn func(T) U) []U
Map projects each element of an array into a new form in parallel
items: The array to map
selector: The selector function to use
Source Files
¶
Click to show internal directories.
Click to hide internal directories.