Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrBadResponse indicates a bad or unexpected response from the webapi ErrBadResponse error = errors.New("bad response") )
Functions ¶
This section is empty.
Types ¶
type Post ¶
type Post struct { ID string Title string Text string Subreddit string Author string Permalink string ImageURL string IsImage bool IsVideo bool IsEmbed bool Embed Embed }
Post is a very simplified variation of a JSON response given from the reddit api
Click to show internal directories.
Click to hide internal directories.