slice

package
v1.4.6 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2026 License: GPL-3.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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