utils

package
v0.0.0-...-a142604 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2017 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectionContains

func CollectionContains(largeArr interface{}, smallArr interface{}) bool

CollectionContains that large collection contains small collection.

func Contains

func Contains(arr interface{}, item interface{}) bool

Contains is a convenience function that returns true if str matches any of the values.

func StringCollectionIntersection

func StringCollectionIntersection(leftArr []string, rightArr []string) []string

StringCollectionIntersection intersection with string collection.

func StringCollectionUnion

func StringCollectionUnion(leftArr []string, rightArr []string) []string

StringCollectionUnion union with string collection.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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