Documentation
¶
Index ¶
- type Hashes
- type Set
- func (t Set) Add(s string) Set
- func (t Set) Has(s string) bool
- func (t Set) IsDisjoint(s Set) bool
- func (t Set) IsSubSet(s Set) bool
- func (t Set) IsSuperSet(s Set) bool
- func (t Set) Remove(s string) Set
- func (t *Set) Scan(src interface{}) error
- func (t Set) String() string
- func (t Set) Sub(s Set) Set
- func (t Set) Union(s Set) Set
- func (t Set) Value() (driver.Value, error)
- type StringMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hashes ¶
type Hashes []uint64
Hashes is hash slice
type Set ¶
type Set []string
Set is a string set, can be varchar,text or json array in mysql column
func (Set) IsDisjoint ¶
IsDisjoint returns whether two sets have a intersection(false) or not(true)
Click to show internal directories.
Click to hide internal directories.