str

package
v0.0.0-...-37e8cd0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2026 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllContained

func AllContained(a, b []string) bool

AllContained determines if all a slice values are in the b slice

func ExtractBetween

func ExtractBetween(str string, leftDelimiter string, rightDelimiter string) [][]string

ExtractBetween extracts all occurrences of a string within left and right delimiter, first inner array item is with delimiters, second one without

func GenerateSecureRandomString

func GenerateSecureRandomString(n int) (string, error)

GenerateSecureRandomString returns a securely generated random string. It will return an error if the system's secure random number generator fails to function correctly, in which case the caller should not continue.

func ValuesString

func ValuesString(m map[string]string) string

ValuesString concatenate all values of a map split by comma

Types

This section is empty.

Jump to

Keyboard shortcuts

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