Documentation ¶
Index ¶
- type Set
- func (s *Set) GetType() ds.DataType
- func (s *Set) MarshalBinary() ([]byte, error)
- 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) UnmarshalBinary(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Set ¶
func (*Set) MarshalBinary ¶ added in v1.0.8
MarshalBinary the string to bytes
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.
func (*Set) UnmarshalBinary ¶ added in v1.0.8
UnmarshalBinary the bytes to string
Click to show internal directories.
Click to hide internal directories.