Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Correction ¶
Correction represents a single correction on the versions list page
type Download ¶
type Download struct { Extension string `json:"extension"` Size string `json:"size"` URI string `json:"uri"` }
Download has the details for the an individual dataset's downloadable files
type Page ¶
type Page struct { model.Page Data VersionsList `json:"data"` }
Page contains the data re-used on each page as well as the data for the current page
type Version ¶
type Version struct { Date string `json:"date"` Corrections []Correction `json:"correction"` Downloads []Download `json:"downloads"` FilterURL string `json:"filter_url"` VersionURL string `json:"version_url"` VersionNumber int `json:"version_number"` Superseded string `json:"superseded"` IsLatest bool `json:"is_latest"` Title string `json:"title"` Edition string `json:"edition"` }
Version represents an edition version on the version list page
type VersionsList ¶
type VersionsList struct { LatestVersionURL string `json:"latest_version_url"` Versions []Version `json:"versions"` }
VersionsList represents the data on the versions list page
Click to show internal directories.
Click to hide internal directories.