Documentation
¶
Index ¶
- type IntSet
- type StringSet
- func (set *StringSet) Add(s string) bool
- func (set *StringSet) Contains(s string) bool
- func (set *StringSet) Difference(set1 *StringSet) *StringSet
- func (set *StringSet) FromSlice(slice []string)
- func (set *StringSet) Intersection(set1 *StringSet) *StringSet
- func (set *StringSet) Len() int
- func (set *StringSet) Remove(s string)
- func (set *StringSet) ToSlice() (slice []string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StringSet ¶
func NewStringSet ¶
func NewStringSet() *StringSet
func (*StringSet) Difference ¶
func (*StringSet) Intersection ¶
Click to show internal directories.
Click to hide internal directories.