Documentation ¶
Index ¶
- type IntSet
- type SortStrSet
- type SortableKeyGetter
- type StrSet
- func (set StrSet) Add(items ...string)
- func (set StrSet) AddSet(another StrSet)
- func (set StrSet) All() []string
- func (set StrSet) Except(other StrSet) []string
- func (set StrSet) Has(item string) bool
- func (set StrSet) Hide(items ...string)
- func (set StrSet) Len() int
- func (set StrSet) Remove(items ...string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IntSet ¶ added in v0.1.1
func NewIntSetWith ¶ added in v0.1.1
type SortStrSet ¶ added in v0.1.1
type SortStrSet struct {
StrSet
}
func NewIntSortedStrSetWith ¶ added in v0.1.1
func NewIntSortedStrSetWith(keyValues map[string]int, desc bool) (SortStrSet, []string)
func NewSortStrSet ¶ added in v0.1.1
func NewSortStrSet() SortStrSet
func NewSortStrSetWith ¶ added in v0.1.1
func NewSortStrSetWith(items ...string) SortStrSet
func NewStrSortedStrSetWith ¶ added in v0.1.1
func NewStrSortedStrSetWith(keyValues map[string]string, desc bool) (SortStrSet, []string)
func (SortStrSet) SortByIntVal ¶ added in v0.1.1
func (ss SortStrSet) SortByIntVal(keyValues map[string]int, desc bool) []string
func (SortStrSet) SortByStrVal ¶ added in v0.1.1
func (ss SortStrSet) SortByStrVal(keyValues map[string]string, desc bool) []string
type SortableKeyGetter ¶ added in v0.1.1
type StrSet ¶
func NewStrSetWith ¶ added in v0.1.1
Click to show internal directories.
Click to hide internal directories.