stringz

package
v2.0.43 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 0 Imported by: 40

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(a []string, val string) bool

func ContainsAll

func ContainsAll(a []string, values ...string) bool

func ContainsAny

func ContainsAny(a []string, values ...string) bool

func Difference

func Difference(a, b []string) []string

func EqualSlices

func EqualSlices(a []string, b []string) bool

func FirstIndexOf

func FirstIndexOf(a []string, val string) (int, bool)

func OrEmpty

func OrEmpty(val *string) string

func PermutationWith

func PermutationWith(base, v []string, f func([]string))

func Permutations

func Permutations(v []string, f func([]string))

func Remove

func Remove(a []string, val string) []string

func SetToSlice

func SetToSlice(values map[string]struct{}) []string

func SliceToSet

func SliceToSet(values []string) map[string]struct{}

func ToStringSlice

func ToStringSlice(a [][]byte) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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