set

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package set provides helper methods for handling sets.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Difference

func Difference(a []string, b []string) (out []string)

Difference returns the items in the first argument that are not in the second (set 'a' - set 'b')

func Intersection

func Intersection(a []string, b []string) (out []string)

Intersection returns the intersection of two sets.

func Union

func Union(a []string, b []string) (out []string)

Union returns the union of two sets.

Types

This section is empty.

Jump to

Keyboard shortcuts

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