strs

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(list []string, want string) bool

Contains returns if a string is in the list.

func ContainsAll

func ContainsAll(list []string, want []string) bool

ContainsAll returns if all the wanted strings are in the list.

func Missing

func Missing(list []string, want []string) []string

Missing returns the list of all the missing strings that were wanted but not present in the list.

Types

This section is empty.

Jump to

Keyboard shortcuts

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