slice

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2025 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckCookies

func CheckCookies(input string) []*http.Cookie

CheckCookies checks if the string provided to the -cookie option is valid. format: "name1:value1;name2:value2" It returns a slice of Cookies.

func CheckInputArray

func CheckInputArray(input string) []string

CheckInputArray checks the basic rules to be valid and then returns the array as input. - Delete duplicates. - Avoid empty strings.

func Contains added in v1.4.0

func Contains(slice []string, str string) bool

Contains checks if a string str is contained in the input slice.

func RandSeq added in v1.2.1

func RandSeq(n int) string

RandSeq produces a random sequence of letters.

func RemoveDuplicateValues

func RemoveDuplicateValues(strSlice []string) []string

RemoveDuplicateValues removes duplicates from a 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