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.

      Source Files