Categorygithub.com/neatlib/set-go
modulepackage
1.1.0
Repository: https://github.com/neatlib/set-go.git
Documentation: pkg.go.dev

# README

Set Go Library

# Functions

Difference returns a new set which contains items which are in in the first set but not in the others.
Intersection returns a new set which contains items that only exist in all given sets.
IntSlice is a helper function that returns a slice of ints of s.
New creates and initialize a new Set.
NewNonTS creates and initialize a new non-threadsafe Set.
StringSlice is a helper function that returns a slice of strings of s.
SymmetricDifference returns a new set which s is the difference of items which are in one of either, but not in both.
Union is the merger of multiple sets.

# Structs

Set defines a thread safe set data structure.
SetNonTS defines a non-thread safe set data structure.

# Interfaces

Interface is describing a Set.