Documentation ¶
Index ¶
- Constants
- func Compare(t1, t2 STag) int
- func TagSet2Paths(tagSet TTagSet, keys []string) [][]string
- func TagSetList2Paths(tagsList TTagSetList, keys []string) [][]string
- func Tagset2MapString(oTags TTagSet) map[string]string
- func TagsetMap2MapString(oTags map[string]TTagSet) map[string]string
- type STag
- type STagFilters
- type TTagSet
- func (ts TTagSet) Append(ele ...STag) TTagSet
- func (a TTagSet) Compact() TTagSet
- func (a TTagSet) Contains(b TTagSet) bool
- func (t TTagSet) IsZero() bool
- func (ts TTagSet) KeyPrefix() string
- func (a TTagSet) Len() int
- func (a TTagSet) Less(i, j int) bool
- func (ts TTagSet) Remove(ele ...STag) (TTagSet, bool)
- func (t TTagSet) String() string
- func (a TTagSet) Swap(i, j int)
- type TTagSetList
- func (tsl TTagSetList) Append(t TTagSet) TTagSetList
- func (tsl TTagSetList) AppendAll(tsl2 TTagSetList) TTagSetList
- func (t1 TTagSetList) Contains(t2 TTagSet) bool
- func (t1 TTagSetList) ContainsAll(t2 TTagSetList) bool
- func (tsl TTagSetList) Flattern() map[string]TTagSet
- func (tsl TTagSetList) Intersect(t TTagSet) TTagSetList
- func (tsl TTagSetList) IntersectList(t TTagSetList) TTagSetList
- func (t1 TTagSetList) IsEmpty() bool
- func (a TTagSetList) Len() int
- func (a TTagSetList) Less(i, j int) bool
- func (tsl TTagSetList) String() string
- func (a TTagSetList) Swap(i, j int)
Constants ¶
View Source
const ( NoValue = "___no_value__" AnyValue = "" )
Variables ¶
This section is empty.
Functions ¶
func TagSet2Paths ¶
func TagSetList2Paths ¶
func TagSetList2Paths(tagsList TTagSetList, keys []string) [][]string
func Tagset2MapString ¶
Types ¶
type STagFilters ¶
func (*STagFilters) AddFilter ¶
func (tf *STagFilters) AddFilter(ts TTagSet)
func (*STagFilters) AddFilters ¶
func (tf *STagFilters) AddFilters(tsl TTagSetList)
func (*STagFilters) AddNoFilter ¶
func (tf *STagFilters) AddNoFilter(ts TTagSet)
func (*STagFilters) AddNoFilters ¶
func (tf *STagFilters) AddNoFilters(tsl TTagSetList)
type TTagSet ¶
type TTagSet []STag
func Map2Tagset ¶
type TTagSetList ¶
type TTagSetList []TTagSet
func (TTagSetList) Append ¶
func (tsl TTagSetList) Append(t TTagSet) TTagSetList
func (TTagSetList) AppendAll ¶
func (tsl TTagSetList) AppendAll(tsl2 TTagSetList) TTagSetList
func (TTagSetList) Contains ¶
func (t1 TTagSetList) Contains(t2 TTagSet) bool
func (TTagSetList) ContainsAll ¶
func (t1 TTagSetList) ContainsAll(t2 TTagSetList) bool
Contains of TTagSetList
tagsetlist t1 contains tagsetlist t2 means any tag set of t2 is contained by one of the tag set of t1
func (TTagSetList) Flattern ¶
func (tsl TTagSetList) Flattern() map[string]TTagSet
func (TTagSetList) Intersect ¶
func (tsl TTagSetList) Intersect(t TTagSet) TTagSetList
func (TTagSetList) IntersectList ¶
func (tsl TTagSetList) IntersectList(t TTagSetList) TTagSetList
func (TTagSetList) IsEmpty ¶
func (t1 TTagSetList) IsEmpty() bool
func (TTagSetList) Len ¶
func (a TTagSetList) Len() int
func (TTagSetList) Less ¶
func (a TTagSetList) Less(i, j int) bool
func (TTagSetList) String ¶
func (tsl TTagSetList) String() string
func (TTagSetList) Swap ¶
func (a TTagSetList) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.