set

package
v1.5.5-rc1 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package set contains a function for performing a subset check for slices.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SliceSubsetOf

func SliceSubsetOf(sub, main []string) (bool, []string)

SliceSubsetOf checks whether the first slice is a subset of the second slice. If not, it also returns slice of elements which are the difference of both input slices.

Types

This section is empty.

Jump to

Keyboard shortcuts

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