stringhelper

package
v0.0.0-...-d892afd Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2022 License: MIT 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