slice

package
v0.0.0-...-03ea0d3 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: Apache-2.0 Imports: 4 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dedupe

func Dedupe(l []string) []string

func IntSetToStringSlice

func IntSetToStringSlice(s map[int]bool) []string

func RemoveEmpty

func RemoveEmpty(l []string) []string

func SetToSlice

func SetToSlice(s set.Set) []string

setToSlice converts the set to a slice. If the set contains ints, the slice is sorted numerically.

func ToIntSet

func ToIntSet(s []string) map[int]bool

func TrimSpace

func TrimSpace(v []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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