Documentation ¶
Index ¶
- type StringSet
- func (s StringSet) Add(ids ...string)
- func (s StringSet) Clear()
- func (s StringSet) Contains(i string) bool
- func (s StringSet) ContainsAny(ids ...string) bool
- func (s StringSet) List() []string
- func (s StringSet) Merge(other StringSet)
- func (s StringSet) Remove(ids ...string)
- func (s StringSet) Size() int
- func (s StringSet) Sorted() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StringSet ¶
type StringSet map[string]struct{}
func NewStringSet ¶
func (StringSet) ContainsAny ¶
Click to show internal directories.
Click to hide internal directories.