Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Buying is for a post that is buying something Buying = "buying" // Selling is for a post that is selling something Selling = "selling" // Vendor is for a post from a specific vendor Vendor = "vendor" // Artisan is for a post from a specific artisan Artisan = "artisan" // GroupBuy is for a post about a group buy GroupBuy = "groupbuy" // InterestCheck is for a post about gauging interest InterestCheck = "interestcheck" // Giveaway is for a post about giving away something Giveaway = "giveaway" // Types is a list of all types Types = []string{Buying, Selling, Vendor, Artisan, GroupBuy, InterestCheck, Giveaway} )
Functions ¶
func FindMatching ¶
FindMatching returns list of keywords that match a given title/description
Types ¶
type ParsedPost ¶
ParsedPost represents a parsed Reddit post
func ParseTitle ¶
func ParseTitle(title string) (*ParsedPost, error)
ParseTitle returns the a type, content, and error
Click to show internal directories.
Click to hide internal directories.