package
2.13.0+incompatible
Repository: https://github.com/onsdigital/dp-code-list-api.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
NewCode creates a new Code struct from a Code DB model.
NewCodeList creates a new CodeList struct from a CodeList DB model.
NewCodeListResults creates a new CodeListResult struct from a CodeListResult DB model.
NewCodeResults creates a new CodeResult struct from a CodeResult DB model.
NewDataset creates a new Dataset struct from a database Dataset struct.
NewDatasetEdition creates a new DatasetEdition struct from a database DatasetEdition.
NewDatasets creates a new Datasets struct from a database Datasets.
NewEdition creates an Edition struct from a DB Edition model.
NewEditions creates an Editions struct from a DB Editions model.

# Structs

Code for a single dimensions type.
CodeLinks contains links for a code resource.
CodeList containing links to all possible codes.
CodeListLink contains links for a code list resource.
CodeListResults contains an array of code lists which can be paginated.
CodeResults contains an array of codes which can be paginated.
Dataset represents an individual model dataset.
No description provided by the author
No description provided by the author
DatasetLinks represents the links returned specifically for a dataset.
Datasets represents the model returned from the api datasets endpoint.
Edition represents a single edition response model.
EditionLinks represents the links returned for a specific edition.
Editions represents the editions response model.
Link contains the id and a link to a resource.