datasetVersionsList

package
v1.23.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2021 License: MIT Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Correction

type Correction struct {
	Reason string `json:"reason"`
	Date   string `json:"date"`
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL