Documentation ¶
Index ¶
- type Set
- func (s *Set) GetValue() []string
- func (s *Set) SAdd(member ...string) int
- func (s *Set) SCard() int
- func (s *Set) SDiff(sets ...*Set) []string
- func (s *Set) SDiffStore(destination *Set, sets ...*Set)
- func (s *Set) SInter(sets ...*Set) []string
- func (s *Set) SInterStore(destination *Set, sets ...*Set)
- func (s *Set) SIsMember(member string) bool
- func (s *Set) SMembers() []string
- func (s *Set) SRem(member ...string) int
- func (s *Set) SUnion(sets ...*Set) []string
- func (s *Set) SUnionStore(destination *Set, sets ...*Set)
- func (s *Set) SetValue(members []string)
- func (s *Set) Type() ds.DataType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Set ¶
func (*Set) SDiffStore ¶
SDiffStore gets the difference between sets and stores it in a new set.
func (*Set) SInterStore ¶
SInterStore gets the intersection between sets and stores it in a new set.
func (*Set) SUnionStore ¶
SUnionStore gets the union between sets and stores it in a new set.
Click to show internal directories.
Click to hide internal directories.