collection

package
v0.0.0-...-4b0d5d3 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2023 License: BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterFlags

func FilterFlags(af []cli.Flag, fn func(cli.Flag) bool) []cli.Flag

FilterFlags returns a new slice of cli Flags that passes the test implemented by the given functions

func Map

func Map[T any, M any](a []T, fn func(T) M) []M

Map applies the given function to each element of slice a, returning slice of results

Types

This section is empty.

Jump to

Keyboard shortcuts

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