gaia: github.com/gaia-pipeline/gaia/helper/stringhelper Index | Files

package stringhelper

import "github.com/gaia-pipeline/gaia/helper/stringhelper"

Index

Package Files

stringhelper.go

func DiffSlices Uses

func DiffSlices(a []string, b []string, caseIns bool) []string

DiffSlices returns A - B set difference of the two given slices. It also sorts the returned slice.

func IsContainedInSlice Uses

func IsContainedInSlice(s []string, c string, caseIns bool) bool

IsContainedInSlice checks if the given string is contained in the slice. If case insensitive is enabled, checks are case insensitive.

Package stringhelper imports 2 packages (graph) and is imported by 3 packages. Updated 2019-07-04. Refresh now. Tools for package owners.