package
Version:
v1.2.0
Opens a new window with list of versions in this module.
Published: Feb 6, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package sliceutil contains utility functions for working with slices.
func Map[X any, Y any](xs []X, f func(X) Y) []Y
Map converts a slice of one object into another using a function
MapErr cnverts a slice of one object into another using a function that returns an error.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.