functional

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsString

func ContainsString(strings []string, candidate string) bool

func HasAnyPrefix

func HasAnyPrefix(s string, prefixes ...string) bool

HasAnyPrefix returns true if any of the provided prefixes match the given string s

func StringSliceWithout

func StringSliceWithout(vals []string, remove ...string) []string

func UnionStringMaps

func UnionStringMaps(maps ...map[string]string) map[string]string

UnionStringMaps merges all key value pairs into a single map, last write wins.

Types

This section is empty.

Jump to

Keyboard shortcuts

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