Versions in this module Expand all Collapse all v0 v0.1.0 Feb 14, 2019 Changes in this version + type Set map[string]struct + func Difference(set1 Set, sets ...Set) Set + func Intersection(sets ...Set) Set + func New(ts ...string) Set + func NewWithSize(size int) Set + func SymmetricDifference(s Set, t Set) Set + func Union(sets ...Set) Set + func (s *Set) Clear() + func (s Set) Add(items ...string) + func (s Set) Copy() Set + func (s Set) Has(items ...string) bool + func (s Set) HasAny(items ...string) bool + func (s Set) IsEqual(t Set) bool + func (s Set) IsSubset(t Set) bool + func (s Set) IsSuperset(t Set) bool + func (s Set) List() []string + func (s Set) Merge(sets ...Set) + func (s Set) Pop() string + func (s Set) Pop2() (string, bool) + func (s Set) Remove(items ...string) + func (s Set) String() string + func (s Set) Subtract(sets ...Set)