collections

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: Apache-2.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListContains

func ListContains(haystack []string, needle string) bool

Return true if the given list of strings (haystack) contains the given string (needle)

func ListSubtract

func ListSubtract(list1 []string, list2 []string) []string

Remove all the items in list2 from list1

Types

This section is empty.

Jump to

Keyboard shortcuts

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