Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdministrativeLanguage ¶
type Alpha2Code ¶
func ExtractAlpha2Code ¶
func ExtractAlpha2Code(r io.Reader) ([]Alpha2Code, error)
type Detail ¶
type Detail struct { Alpha2Code string `db:"alpha_2_code"` ShortName string `db:"short_name"` ShortNameLowerCase string `db:"short_name_lower_case"` FullName string `db:"full_name"` Alpha3Code string `db:"alpha_3_code"` NumericCode string `db:"numeric_code"` Remarks string `db:"remarks"` Independent string `db:"independent"` TerritoryName string `db:"territory_name"` Status string `db:"status"` Languages []AdministrativeLanguage Subdivisions []Subdivision }
type Subdivision ¶
type Subdivision struct { CountryCode string `db:"country_code"` Category string `db:"category"` Code31662 string `db:"code_31662"` Name string `db:"name"` LocalVariant string `db:"local_variant"` LanguageCode string `db:"language_code"` RomanizationSystem string `db:"romanization_system"` ParentSubdivision string `db:"parent_subdivision"` }
Click to show internal directories.
Click to hide internal directories.