package
Version:
v0.0.0-...-0d2c1c8
Opens a new window with list of versions in this module.
Published: Aug 1, 2019
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Display(results chan *Result)
Display从每个单独的goroutine接收到结果后在终端窗口输出
Match函数,为每个数据源单独启动goroutine来执行这个函数;并发地执行搜索
Register调用时,会注册一个匹配器,提供给后面的程序使用
type Feed struct {
Name string `json:"site"`
URI string `josn:"link"`
Type string `json:"type"`
}
Feed包含我们需要处理的数据源的信息
RetrieveFeeds读取并反序列化源数据文件
Source Files
¶
Click to show internal directories.
Click to hide internal directories.