Documentation ¶
Overview ¶
Package sets provides sets of different types, e.g. StringSet.
Index ¶
- type StringSet
- func (set StringSet) Add(ss ...string) StringSet
- func (set StringSet) Filter(f func(s string) bool) StringSet
- func (set StringSet) Has(s string) bool
- func (set StringSet) Intersect(others ...StringSet) StringSet
- func (set StringSet) Map(f func(s string) string) StringSet
- func (set StringSet) Remove(ss ...string) StringSet
- func (set StringSet) Slice() []string
- func (set StringSet) Union(sets ...StringSet) StringSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.