package
Version:
v0.1.1-0...-2248da4
Opens a new window with list of versions in this module.
Published: Apr 9, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Main is the "moved" program entrypoint, but with git version argument (which is set in real main package)
func Map[T any, R any](slice []T, mapper func(T, int) R) []R
Map takes a slice of type T, maps every element of it to type R through the mapper function and returns the mapped elements in a new slice of type R
Source Files
¶
Click to show internal directories.
Click to hide internal directories.