arrayhelper

package
v0.0.0-...-0aa9544 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArgListToMap

func ArgListToMap(lst []string) map[string]string

ArgListToMap takes a list of strings of the form "key=value" and translate it into a map of the form {key: value}

func FilterArray

func FilterArray(vs []string, f func(string) bool) []string

FilterArray takes a list and a predicate and returns a list of all elements for whom the predicate returns true

func Unique

func Unique(slice []string) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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