slice

package
v2.7.2 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2022 License: Apache-2.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

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

func FindUnique

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

FindUnique returns a list of strings that exist in 'a' and not in 'b'.

func RemoveEmptyStrings

func RemoveEmptyStrings(slice []string) []string

func RemoveStringDuplicates

func RemoveStringDuplicates(slice []string) []string

func ToMap

func ToMap(input []string) map[string]bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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