Documentation ¶
Overview ¶
Package tags 标签记录.
包括 打标,搜索等.
Index ¶
- func Byte2Ints(n uint32, b byte) []uint32
- func Int2Byte(i uint32) (uint32, byte)
- type Tags
- func (t *Tags) Add(elems ...uint32) Tags
- func (t *Tags) AddTags(elem Tags) Tags
- func (t Tags) All(elems ...uint32) bool
- func (t Tags) Any(elems ...uint32) bool
- func (t Tags) Bytes() []byte
- func (t Tags) Count() int
- func (t Tags) Del(elems ...uint32) Tags
- func (t Tags) DelTags(elem Tags) Tags
- func (t Tags) Has(tag uint32) bool
- func (t Tags) Join(sep string) string
- func (t *Tags) Load(bs []byte)
- func (t Tags) Slice() []uint32
- func (t Tags) String() string
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.