Versions in this module Expand all Collapse all v1 v1.1.0 Aug 13, 2021 Changes in this version + func AddAll(set Interface, elements ...string) + func ContainsAll(set Interface, elements ...string) bool + func Equals(s1 Interface, s2 Interface) bool + func IsEmpty(set Interface) bool + func RemoveAll(set Interface, elements ...string) + func Subset(super Interface, sub Interface) bool + type Criteria func(value string) bool + type Interface interface + Add func(element string) + All func(criteria Criteria) bool + Any func(criteria Criteria) bool + Array func() []string + Contains func(element string) bool + None func(criteria Criteria) bool + One func() string + Remove func(element string) + Size func() int + func Coalesce(sets ...Interface) Interface + type Ordered struct + func NewOrdered() *Ordered + func NewOrderedBy(value string, delimiter rune) *Ordered + func NewOrderedBySpace(value string) *Ordered + func NewOrderedWith(elements ...string) *Ordered + func (s *Ordered) Add(element string) + func (s *Ordered) All(criteria Criteria) bool + func (s *Ordered) Any(criteria Criteria) bool + func (s *Ordered) Array() []string + func (s *Ordered) Contains(element string) bool + func (s *Ordered) IsZero() bool + func (s *Ordered) MarshalJSON() ([]byte, error) + func (s *Ordered) MarshalYAML() (interface{}, error) + func (s *Ordered) None(criteria Criteria) bool + func (s *Ordered) One() string + func (s *Ordered) Remove(element string) + func (s *Ordered) Scan(src interface{}) error + func (s *Ordered) Size() int + func (s *Ordered) SpaceJoin() string + func (s *Ordered) UnmarshalJSON(bytes []byte) error + func (s *Ordered) UnmarshalYAML(unmarshal func(interface{}) error) error + func (s *Ordered) Value() (driver.Value, error) + type UnOrdered struct + func NewUnOrdered() *UnOrdered + func NewUnOrderedWith(elements ...string) *UnOrdered + func (s *UnOrdered) Add(element string) + func (s *UnOrdered) All(criteria Criteria) bool + func (s *UnOrdered) Any(criteria Criteria) bool + func (s *UnOrdered) Array() []string + func (s *UnOrdered) Contains(element string) bool + func (s *UnOrdered) IsZero() bool + func (s *UnOrdered) MarshalJSON() ([]byte, error) + func (s *UnOrdered) MarshalYAML() (interface{}, error) + func (s *UnOrdered) None(criteria Criteria) bool + func (s *UnOrdered) One() string + func (s *UnOrdered) Remove(element string) + func (s *UnOrdered) Scan(src interface{}) error + func (s *UnOrdered) Size() int + func (s *UnOrdered) UnmarshalJSON(bytes []byte) error + func (s *UnOrdered) UnmarshalYAML(unmarshal func(interface{}) error) error + func (s *UnOrdered) Value() (driver.Value, error) v1.0.0 Aug 1, 2021