stringhelper

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiffSlices

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

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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