Versions in this module Expand all Collapse all v0 v0.0.1 Oct 29, 2021 Changes in this version + var ErrIgnoreCate error = errors.New("article is ignored by category") + var ErrTimeOverDays error = errors.New("article update time out of range") + func Fetch() error + type Article struct + Content string + Id string + Title string + U *url.URL + UpdateTime *timestamppb.Timestamp + WebsiteDomain string + WebsiteId string + WebsiteTitle string + func NewArticle() *Article + func (a *Article) Get(id string) (*Article, error) + func (a *Article) List() ([]*Article, error) + func (a *Article) Search(keyword ...string) ([]*Article, error) + type ByUpdateTime []*Article + func (u ByUpdateTime) Len() int + func (u ByUpdateTime) Less(i, j int) bool + func (u ByUpdateTime) Swap(i, j int)