Versions in this module Expand all Collapse all v0 v0.0.2 Jul 13, 2018 v0.0.1 Jun 3, 2018 Changes in this version + func Contains(v interface{}, s string) bool + func Index(needle string, elts []string) int + type Keyer interface + Keys func() []string + type Set map[string]struct + func FromKeys(v interface{}) Set + func FromValues(v interface{}) Set + func New(elts ...string) Set + func NewSize(n int) Set + func (s *Set) Add(ss ...string) bool + func (s *Set) Update(s2 Set) bool + func (s Set) Choose(f func(string) bool) (string, bool) + func (s Set) Clone() Set + func (s Set) Contains(elts ...string) bool + func (s Set) ContainsAny(elts ...string) bool + func (s Set) Count(f func(string) bool) (n int) + func (s Set) Diff(s2 Set) Set + func (s Set) Discard(elts ...string) bool + func (s Set) Each(f func(string)) + func (s Set) Elements() []string + func (s Set) Empty() bool + func (s Set) Equals(s2 Set) bool + func (s Set) Intersect(s2 Set) Set + func (s Set) Intersects(s2 Set) bool + func (s Set) IsSubset(s2 Set) bool + func (s Set) Len() int + func (s Set) Map(f func(string) string) Set + func (s Set) Partition(f func(string) bool) (yes, no Set) + func (s Set) Pop(f func(string) bool) (string, bool) + func (s Set) Remove(s2 Set) bool + func (s Set) Select(f func(string) bool) Set + func (s Set) String() string + func (s Set) SymDiff(s2 Set) Set + func (s Set) Union(s2 Set) Set + func (s Set) Unordered() []string