Documentation ¶
Index ¶
- func ContainsString(data, target string) bool
- func ContainsStringByte(data []byte, target string) bool
- func ContainsStrings(data string, targets []string) bool
- func ContainsStringsByte(data []byte, targets []string) bool
- func ContainsWhichStrings(data string, target []string) []string
- func ContainsWhichStringsByte(data []byte, target []string) []string
- func LinearSearch[T comparable](data []T, target T) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsString ¶ added in v0.0.18
ContainsString is delegated to verify if the given string is present in the data
func ContainsStringByte ¶ added in v0.0.18
ContainsStringByte is delegated to verify if the given string is present in the data
func ContainsStrings ¶ added in v0.0.18
ContainsStrings is delegated to verify if the given array of string are present in the data
func ContainsStringsByte ¶ added in v0.0.18
ContainsStringsByte is delegated to verify if the given array of string are present in the data
func ContainsWhichStrings ¶ added in v0.0.18
ContainsWhichStrings is delegated to verify which strings are present in the data
func ContainsWhichStringsByte ¶ added in v0.0.18
ContainsWhichStringsByte is delegated to verify which strings are present in the data
func LinearSearch ¶ added in v0.0.101
func LinearSearch[T comparable](data []T, target T) int
LinearSearch is a simple for delegated to find the target value
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.