sub

package
v0.0.0-...-11834cf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFilterSubWordsAndContents

func GetFilterSubWordsAndContents(subWordsArr []string) (map[string][]string, []string)

GetFilterSubWordsAndContents 传入所有的订阅词汇, 返回符合的订阅词汇和热搜内容

func NotifySub

func NotifySub()

func RemoveRepByLoop

func RemoveRepByLoop(slc []string) []string

Types

type HotSearch

type HotSearch struct {
	Time     string            `json:"time"`
	Searches []SingleHotSearch `json:"searches"`
}

type NotifyInfo

type NotifyInfo struct {
	OpenId string `json:"open_id"`
	Phone  string `json:"phone"`
}

type Res

type Res struct {
	Code int64     `json:"code"`
	Msg  string    `json:"msg"`
	Data HotSearch `json:"data"`
}

type SingleHotSearch

type SingleHotSearch struct {
	Rank    int    `json:"rank"`
	Content string `json:"content"`
	Link    string `json:"link"`
	Hot     int    `json:"hot"`
	Tag     string `json:"tag"`
	Icon    string `json:"icon"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL