area

package
v1.5.6 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2020 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attribute

type Attribute struct {
	Code        string `json:"code"`
	ReleaseDate string `json:"release_date"`
}

Attribute represents each attribute related to specific code

type Dataset

type Dataset struct {
	Label       string `json:"label"`
	Description string `json:"description"`
	ID          string `json:"id"`
	URI         string `json:"uri"`
}

Dataset represents each dataset related to specific code

type GeographyAreaPage

type GeographyAreaPage struct {
	Datasets   []Dataset `json:"items"`
	Attributes Attribute `json:"attributes"`
}

GeographyAreaPage represents the data specific to an area page

type Page

type Page struct {
	model.Page
	Data GeographyAreaPage `json:"data"`
}

Page represents the template data structure used for the geography list page

Jump to

Keyboard shortcuts

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