funk

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package funk provides functional helpers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallAbortOnError

func CallAbortOnError(f ...func() error) (err error)

CallAbortOnError will call sequentially the list of functions given as parameters but stopping the call list at the first encountered error.

func Map

func Map[I any, O any](in []I, mapper func(index int, data I) O) (out []O)

Types

This section is empty.

Jump to

Keyboard shortcuts

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