Documentation ¶
Overview ¶
Package collections contains helper functions to work with collections.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Index ¶ added in v1.23.6
Index finds given key in sequence. Second return value indicates if key was found or not. If the sequence is empty, zero index is returned with found flag set to false.
func StringInSlice ¶
StringInSlice tests whether the given string is contained in slice of strings. If the slice is empty, false is returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.