static

package
v1.94.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2026 License: MIT Imports: 5 Imported by: 1 module, 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 DatasetLandingPage

type DatasetLandingPage struct {
	DatasetURL          string                           `json:"dataset_url"`
	Description         []string                         `json:"description"`
	Dimensions          []sharedModel.Dimension          `json:"dimensions"`
	FeedbackAPIURL      string                           `json:"feedback_api_url"`
	HasDownloads        bool                             `json:"has_downloads"`
	HasOtherVersions    bool                             `json:"has_other_versions"`
	HasSDC              bool                             `json:"has_sdc"`
	ImproveResults      model.Collapsible                `json:"improve_results"`
	IsPublishing        bool                             `json:"is_publishing"`
	IsCustom            bool                             `json:"is_custom"`
	IsFlexibleForm      bool                             `json:"is_flexible_form"`
	IsMultivariate      bool                             `json:"is_multivariate"`
	LatestVersionURL    string                           `json:"latest_version_url"`
	NextRelease         string                           `json:"next_release"`
	Panels              []Panel                          `json:"panels"`
	QMIURL              string                           `json:"qmi_url"`
	QualityStatements   []Panel                          `json:"quality_statements"`
	RelatedContentItems []sharedModel.RelatedContentItem `json:"related_content_items"`
	SDC                 []Panel                          `json:"sdc"`
	ShareDetails        sharedModel.ShareDetails         `json:"share_details"`
	ShowXLSXInfo        bool                             `json:"show_xlsx_info"`
	State               string                           `json:"state"`
	Version             sharedModel.Version              `json:"version"`
}

StaticOverviewPage contains properties related to the static dataset

type Page

type Page struct {
	model.Page
	DatasetLandingPage  DatasetLandingPage    `json:"data"`
	Version             sharedModel.Version   `json:"version"`
	Versions            []sharedModel.Version `json:"versions"`
	ID                  string                `json:"id"`
	ContactDetails      contact.Details       `json:"contact_details"`
	HasContactDetails   bool                  `json:"has_contact_details"`
	IsNationalStatistic bool                  `json:"is_national_statistic"`
	ShowCensusBranding  bool                  `json:"show_census_branding"`
	Publisher           publisher.Publisher   `json:"publisher,omitempty"`
	UsageNotes          []UsageNote           `json:"usage_notes"`
	ShowApprove         bool                  `json:"show_approve"`
}

Page contains data for the census landing page

type Panel added in v1.68.0

type Panel struct {
	Type        PanelType `json:"type"`
	DisplayIcon bool      `json:"display_icon"`
	CSSClasses  []string  `json:"css_classes"`
	Body        []string  `json:"body"`
	Language    string    `json:"language"`
}

Panel contains the data required to populate a panel UI component

func (Panel) FuncGetPanelType added in v1.68.0

func (p Panel) FuncGetPanelType() (panelType string)

FuncGetPanelType returns the panel type as a string

type PanelType added in v1.68.0

type PanelType int
const (
	Info PanelType = iota
	Pending
	Success
	Error
)

type UsageNote added in v1.68.0

type UsageNote struct {
	Note  string `json:"note,omitempty"`
	Title string `json:"title,omitempty"`
}

UsageNote represents data for a single usage note

Jump to

Keyboard shortcuts

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