primaryadministrativesubdivision

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2025 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// EnumPrimaryAdministrativeSubdivisionListAll contains ALL records, including deleted, un-released and import-only records
	EnumPrimaryAdministrativeSubdivisionListAll []*EnumPrimaryAdministrativeSubdivisionItem

	// EnumPrimaryAdministrativeSubdivisionList
	// is a filtered list.
	// It excludes deleted, un-released and import-only records.
	EnumPrimaryAdministrativeSubdivisionList []*EnumPrimaryAdministrativeSubdivisionItem
)

n.b. There is no map like the other enumerations have. This is because the IDs are not unique.

Functions

This section is empty.

Types

type CQZone

type CQZone int

CQZone represents a CQ zone

type CQZoneList

type CQZoneList struct {
	Code []CQZone
}

CQZoneList represents a list of CQ zones

func (*CQZoneList) UnmarshalCSV

func (s *CQZoneList) UnmarshalCSV(csv string) error

type EnumPrimaryAdministrativeSubdivisionItem

type EnumPrimaryAdministrativeSubdivisionItem struct {
	shared.ImportRecordRoot
	IsDeleted       shared.Deleted                   `csv:"Deleted"`
	ID              PrimaryAdministrativeSubdivision `csv:"Code"` // n.b. NOT UNIQUE.
	Description     string                           `csv:"Primary Administrative Subdivision"`
	DXCCEntityCode  dxccentitycode.DXCCEntityCode    `csv:"DXCC Entity Code"`
	ContainedWithin string                           `csv:"Contained Within"`
	Oblast          int                              `csv:"Oblast #"`
	CQZone          CQZoneList                       `csv:"CQ Zone"`
	ITUZone         ITUZoneList                      `csv:"ITU Zone"`
	Prefix          string                           `csv:"Prefix"`
	Comments        string                           `csv:"Comments"`
}

EnumPrimaryAdministrativeSubdivisionItem represents an ARRL section item

type ITUZone

type ITUZone int

ITUZone represents an ITU zone

type ITUZoneList

type ITUZoneList struct {
	Code []ITUZone
}

ITUZoneList represents a list of ITU zones

func (*ITUZoneList) UnmarshalCSV

func (s *ITUZoneList) UnmarshalCSV(csv string) error

type PrimaryAdministrativeSubdivision

type PrimaryAdministrativeSubdivision string

PrimaryAdministrativeSubdivision represents a primary administrative subdivision identifier

Jump to

Keyboard shortcuts

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