Documentation ¶
Index ¶
- type Set
- func (s *Set) GetType() ds.DataType
- func (s *Set) Marshal() ([]byte, error)
- func (s *Set) SAdd(member ...string)
- 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)
- func (s *Set) SUnion(sets ...*Set) []string
- func (s *Set) SUnionStore(destination *Set, sets ...*Set)
- func (s *Set) Unmarshal(data []byte) error
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.