country

package
v0.0.0-...-d39f515 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Countries = []Country{}/* 247 elements not displayed */
View Source
var IsoCodeMap = map[string]Country{}
View Source
var TimeZoneNameCountryIsoCodeMap = map[string]string{}
View Source
var TimeZones = []TimeZone{}/* 430 elements not displayed */

Functions

func GetIsoCodeFromTimeZoneName

func GetIsoCodeFromTimeZoneName(timeZoneName string) *string

func GetNameFromIsoCode

func GetNameFromIsoCode(isoCode string) string

Types

type Country

type Country struct {
	IsoCode string
	Name    string
}

type TimeZone

type TimeZone struct {
	CountryIsoCode string
	Name           string
}

Jump to

Keyboard shortcuts

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