src

package
v0.1.1-0...-2248da4 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main(gitVersion string)

Main is the "moved" program entrypoint, but with git version argument (which is set in real main package)

func Map

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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