Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IndexLabels ¶
type IndexLabels struct { PGC map[int][]*TypeLabels // key is category, value is all the param and their labels UGC map[int][]*TypeLabels }
IndexLabels is used to combine the data in memory
type Label ¶
type Label struct { ID int `json:"id"` Name string `json:"name"` Param string `json:"param"` ParamName string `json:"param_name"` Value string `json:"value"` }
Label def.
func (*Label) TransYear ¶
func (v *Label) TransYear(cfg *conf.IndexLabel)
TransYear transforms the value of year type labels
type TypeLabels ¶
type TypeLabels struct { ParamName string `json:"param_name"` Param string `json:"param"` Labels []*Label `json:"labels"` }
TypeLabels def.
Click to show internal directories.
Click to hide internal directories.