Documentation
¶
Index ¶
- type Set
- func (set *Set) Add(item interface{}) bool
- func (set *Set) AddRange(items interface{})
- func (set *Set) Contains(item interface{}) bool
- func (set *Set) Length() int
- func (set *Set) PrintSorted()
- func (set *Set) Slice() interface{}
- func (set *Set) SortedStringSlice() []string
- func (set *Set) StringSlice() []string
- func (set *Set) WriteSorted(writer io.Writer)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Set ¶
type Set struct { Set map[interface{}]bool // contains filtered or unexported fields }
func NewStringSet ¶
func (*Set) PrintSorted ¶
func (set *Set) PrintSorted()
func (*Set) SortedStringSlice ¶
func (*Set) StringSlice ¶
func (*Set) WriteSorted ¶
Click to show internal directories.
Click to hide internal directories.