Documentation ¶ Index ¶ type Provider func (p *Provider) BuildURI(q string) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Provider ¶ added in v0.2.1 type Provider struct{} Provider merely implements the Provider interface. func (*Provider) BuildURI ¶ added in v0.2.1 func (p *Provider) BuildURI(q string) string BuildURI generates a search URL for Reddit. If q starts with "/r/subreddit query", treat as subreddit and do restrict search on the subreddit. The exception is when q = "/r/subreddit" where no query is provided, treat it as regular reddit search. Source Files ¶ View all Source files reddit.go Click to show internal directories. Click to hide internal directories.