searchutils

package
v0.0.101 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsString added in v0.0.18

func ContainsString(data, target string) bool

ContainsString is delegated to verify if the given string is present in the data

func ContainsStringByte added in v0.0.18

func ContainsStringByte(data []byte, target string) bool

ContainsStringByte is delegated to verify if the given string is present in the data

func ContainsStrings added in v0.0.18

func ContainsStrings(data string, targets []string) bool

ContainsStrings is delegated to verify if the given array of string are present in the data

func ContainsStringsByte added in v0.0.18

func ContainsStringsByte(data []byte, targets []string) bool

ContainsStringsByte is delegated to verify if the given array of string are present in the data

func ContainsWhichStrings added in v0.0.18

func ContainsWhichStrings(data string, target []string) []string

ContainsWhichStrings is delegated to verify which strings are present in the data

func ContainsWhichStringsByte added in v0.0.18

func ContainsWhichStringsByte(data []byte, target []string) []string

ContainsWhichStringsByte is delegated to verify which strings are present in the data

func LinearSearch added in v0.0.101

func LinearSearch[T constraints.Ordered](data []T, target T) int

LinearSearch is a simple for delegated to find the target value

Types

This section is empty.

Jump to

Keyboard shortcuts

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