Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Image ¶
Image contains identifying data and metadatas about the image, such as: id, url, views, favorites, dimension, file_size, colors, etc. TODO Fill out, we just don't need to yet
type Meta ¶
The Meta struct contains query response metadata such as page size, total pages, current page, etc. TODO Not using all of the objects returned in the response cause we only really want the URL.
type Params ¶
type Params struct { Query string `url:"q"` Resolution string `url:"resolutions"` Sorting string `url:"sorting"` Page int `url:"page"` }
Query is the main search string entered, such as "forest" Resolution retricts the result set to images of dimension: "1920x1080", etc. Sorting allows us to choose the result set ordering, so we don't have to shuffle :)
Click to show internal directories.
Click to hide internal directories.