slices

package
v1.3.7 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package slices contains functions to operate on slices treated as sets.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists

func Exists(set []string, find string) bool

Exists checks if a string is in a set.

func ExistsIgnoreCase

func ExistsIgnoreCase(set []string, find string) bool

ExistsIgnoreCase checks if a string is in a set but ignores its case.

func Union

func Union(setA, setB []string, ignoreCase bool) []string

Union combines two string sets.

Types

This section is empty.

Jump to

Keyboard shortcuts

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