collections

package
v1.23.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Index added in v1.23.6

func Index(key string, list []string) (int, bool)

Index finds given key in sequence. Second return value indicates if key was found or not.

func StringInSlice

func StringInSlice(a string, list []string) bool

StringInSlice tests whether the given string is contained in slice of strings

Types

This section is empty.

Jump to

Keyboard shortcuts

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