Versions in this module Expand all Collapse all v1 v1.0.4 Feb 26, 2022 v1.0.3 Feb 25, 2022 Changes in this version + const ES_ACGER_PAIR + var AcgerPairBody = ... + func GetCacheElement(uid uint64, client *redis.Redis) *pair.EleSaveReq + func InitIndex(client *es.Client, index string, body string) + func NewElasticsearch(conf *config.Config) *es.Client + type EsSearchPairResult struct + Hits Hit + Shards Shards + TimedOut bool + Took int + type Highlight struct + Skill []string + SkillNeed []string + type Hit struct + Hits []Hits + MaxScore float64 + Total Total + type Hits struct + Highlight Highlight + ID string + Index string + Score float64 + Source Source + Type string + type Shards struct + Failed int + Skipped int + Successful int + Total int + type Source struct + Boost int + CreatedAt time.Time + DeletedAt interface{} + Skill string + SkillNeed string + Star int + UID int + UpdatedAt time.Time + type Total struct + Relation string + Value int v1.0.2 Feb 21, 2022 v1.0.1 Sep 29, 2021 v1.0.0 Sep 29, 2021 Changes in this version + func NewMysql(c *config.Config) *gorm.DB