utils

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterStringFromList

func FilterStringFromList(list []string, strToFilter string) (newList []string)

FilterStringFromList produces a new string slice that does not include the strToFilter argument.

func StringInList

func StringInList(list []string, strToSearch string) bool

StringInList returns a boolean indicating whether strToSearch is a member of the string slice passed as the first argument.

Types

This section is empty.

Jump to

Keyboard shortcuts

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