Documentation ¶ Index ¶ func MatchAll(articles []Article, keyword string) (title []Article, desc []Article, total int) type Article func Articles(client *http.Client) ([]Article, error) func (a Article) Display() discord.Embed func (a Article) Match(keyword string) MatchType type MatchType Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func MatchAll ¶ func MatchAll(articles []Article, keyword string) (title []Article, desc []Article, total int) Types ¶ type Article ¶ type Article struct { Title string URL string Date string Authors string Summary string Slug string // contains filtered or unexported fields } func Articles ¶ func Articles(client *http.Client) ([]Article, error) func (Article) Display ¶ func (a Article) Display() discord.Embed func (Article) Match ¶ func (a Article) Match(keyword string) MatchType type MatchType ¶ type MatchType uint8 const ( NoMatch MatchType = iota MatchTitle MatchDesc MatchExact ) Source Files ¶ View all Source files blog.goparser.go Click to show internal directories. Click to hide internal directories.