Documentation ¶
Overview ¶
Package stringset defines basic operation of set of strings.
Index ¶
- type StringSet
- func (a StringSet) Diff(b StringSet) StringSet
- func (a StringSet) Elements() []string
- func (a StringSet) Equal(b StringSet) bool
- func (a StringSet) Has(k string) bool
- func (a StringSet) Intersect(b StringSet) StringSet
- func (a StringSet) String() string
- func (a StringSet) Union(b StringSet) StringSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StringSet ¶
type StringSet map[string]struct{}
StringSet is a set of strings.
Click to show internal directories.
Click to hide internal directories.