Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Asia - the continent Asia = Continent{ Code: "AS", Slug: "asian", Name: "Asia", Demonym: "asian", } // Africa - the continent Africa = Continent{ Code: "AF", Slug: "africa", Name: "Africa", Demonym: "african", } // Antarctica - the continent Antarctica = Continent{ Code: "AN", Slug: "antarctica", Name: "Antarctica", Demonym: "", } // Europe - the continent Europe = Continent{ Code: "EU", Slug: "europe", Name: "Europe", Demonym: "european", } // Oceania - the continent Oceania = Continent{ Code: "OC", Slug: "oceania", Name: "Oceania", Demonym: "oceanian", } // NorthAmerica - the continent NorthAmerica = Continent{ Code: "NA", Slug: "north-america", Name: "North America", Demonym: "north american", } // SouthAmerica - the continent SouthAmerica = Continent{ Code: "SA", Slug: "south-america", Name: "South America", Demonym: "south american", } // Continents maps a continent code to its continent. Continents = map[string]Continent{ "AS": Asia, "AF": Africa, "AN": Antarctica, "EU": Europe, "OC": Oceania, "NA": NorthAmerica, "SA": SouthAmerica, } )
View Source
var ( // AD is "Andorra". AD = Country{ Capital: "Andorra la Vella", CallingCode: "376", CurrencyCode: "EUR", CurrencyName: "Euro", ContinentCode: "EU", ISO: "AD", ISO3: "AND", ISONum: 20, Name: "Andorra", TLD: ".ad", } // AE is "United Arab Emirates". AE = Country{ Capital: "Abu Dhabi", CallingCode: "971", CurrencyCode: "AED", CurrencyName: "Dirham", ContinentCode: "AS", ISO: "AE", ISO3: "ARE", ISONum: 784, Name: "United Arab Emirates", TLD: ".ae", } // AF is "Afghanistan". AF = Country{ Capital: "Kabul", CallingCode: "93", CurrencyCode: "AFN", CurrencyName: "Afghani", ContinentCode: "AS", ISO: "AF", ISO3: "AFG", ISONum: 4, Name: "Afghanistan", TLD: ".af", } // AG is "Antigua and Barbuda". AG = Country{ Capital: "St. John's", CallingCode: "+1-268", CurrencyCode: "XCD", CurrencyName: "Dollar", ContinentCode: "NA", ISO: "AG", ISO3: "ATG", ISONum: 28, Name: "Antigua and Barbuda", TLD: ".ag", } // AI is "Anguilla". AI = Country{ Capital: "The Valley", CallingCode: "+1-264", CurrencyCode: "XCD", CurrencyName: "Dollar", ContinentCode: "NA", ISO: "AI", ISO3: "AIA", ISONum: 660, Name: "Anguilla", TLD: ".ai", } // AL is "Albania". AL = Country{ Capital: "Tirana", CallingCode: "355", CurrencyCode: "ALL", CurrencyName: "Lek", ContinentCode: "EU", ISO: "AL", ISO3: "ALB", ISONum: 8, Name: "Albania", TLD: ".al", } // AM is "Armenia". AM = Country{ Capital: "Yerevan", CallingCode: "374", CurrencyCode: "AMD", CurrencyName: "Dram", ContinentCode: "AS", ISO: "AM", ISO3: "ARM", ISONum: 51, Name: "Armenia", TLD: ".am", } // AO is "Angola". AO = Country{ Capital: "Luanda", CallingCode: "244", CurrencyCode: "AOA", CurrencyName: "Kwanza", ContinentCode: "AF", ISO: "AO", ISO3: "AGO", ISONum: 24, Name: "Angola", TLD: ".ao", } // AQ is "Antarctica". AQ = Country{ Capital: "", CallingCode: "", CurrencyCode: "", CurrencyName: "", ContinentCode: "AN", ISO: "AQ", ISO3: "ATA", ISONum: 10, Name: "Antarctica", TLD: ".aq", } // AR is "Argentina". AR = Country{ Capital: "Buenos Aires", CallingCode: "54", CurrencyCode: "ARS", CurrencyName: "Peso", ContinentCode: "SA", ISO: "AR", ISO3: "ARG", ISONum: 32, Name: "Argentina", TLD: ".ar", } // AS is "American Samoa". AS = Country{ Capital: "Pago Pago", CallingCode: "+1-684", CurrencyCode: "USD", CurrencyName: "Dollar", ContinentCode: "OC", ISO: "AS", ISO3: "ASM", ISONum: 16, Name: "American Samoa", TLD: ".as", } // AT is "Austria". AT = Country{ Capital: "Vienna", CallingCode: "43", CurrencyCode: "EUR", CurrencyName: "Euro", ContinentCode: "EU", ISO: "AT", ISO3: "AUT", ISONum: 40, Name: "Austria", TLD: ".at", } // AU is "Australia". AU = Country{ Capital: "Canberra", CallingCode: "61", CurrencyCode: "AUD", CurrencyName: "Dollar", ContinentCode: "OC", ISO: "AU", ISO3: "AUS", ISONum: 36, Name: "Australia", TLD: ".au", } // AW is "Aruba". AW = Country{ Capital: "Oranjestad", CallingCode: "297", CurrencyCode: "AWG", CurrencyName: "Guilder", ContinentCode: "NA", ISO: "AW", ISO3: "ABW", ISONum: 533, Name: "Aruba", TLD: ".aw", } // AX is "Aland Islands". AX = Country{ Capital: "Mariehamn", CallingCode: "+358-18", CurrencyCode: "EUR", CurrencyName: "Euro", ContinentCode: "EU", ISO: "AX", ISO3: "ALA", ISONum: 248, Name: "Aland Islands", TLD: ".ax", } // AZ is "Azerbaijan". AZ = Country{ Capital: "Baku", CallingCode: "994", CurrencyCode: "AZN", CurrencyName: "Manat", ContinentCode: "AS", ISO: "AZ", ISO3: "AZE", ISONum: 31, Name: "Azerbaijan", TLD: ".az", } // BA is "Bosnia and Herzegovina". BA = Country{ Capital: "Sarajevo", CallingCode: "387", CurrencyCode: "BAM", CurrencyName: "Marka", ContinentCode: "EU", ISO: "BA", ISO3: "BIH", ISONum: 70, Name: "Bosnia and Herzegovina", TLD: ".ba", } // BB is "Barbados". BB = Country{ Capital: "Bridgetown", CallingCode: "+1-246", CurrencyCode: "BBD", CurrencyName: "Dollar", ContinentCode: "NA", ISO: "BB", ISO3: "BRB", ISONum: 52, Name: "Barbados", TLD: ".bb", } // BD is "Bangladesh". BD = Country{ Capital: "Dhaka", CallingCode: "880", CurrencyCode: "BDT", CurrencyName: "Taka", ContinentCode: "AS", ISO: "BD", ISO3: "BGD", ISONum: 50, Name: "Bangladesh", TLD: ".bd", } // BE is "Belgium". BE = Country{ Capital: "Brussels", CallingCode: "32", CurrencyCode: "EUR", CurrencyName: "Euro", ContinentCode: "EU", ISO: "BE", ISO3: "BEL", ISONum: 56, Name: "Belgium", TLD: ".be", } // BF is "Burkina Faso". BF = Country{ Capital: "Ouagadougou", CallingCode: "226", CurrencyCode: "XOF", CurrencyName: "Franc", ContinentCode: "AF", ISO: "BF", ISO3: "BFA", ISONum: 854, Name: "Burkina Faso", TLD: ".bf", } // BG is "Bulgaria". BG = Country{ Capital: "Sofia", CallingCode: "359", CurrencyCode: "BGN", CurrencyName: "Lev", ContinentCode: "EU", ISO: "BG", ISO3: "BGR", ISONum: 100, Name: "Bulgaria", TLD: ".bg", } // BH is "Bahrain". BH = Country{ Capital: "Manama", CallingCode: "973", CurrencyCode: "BHD", CurrencyName: "Dinar", ContinentCode: "AS", ISO: "BH", ISO3: "BHR", ISONum: 48, Name: "Bahrain", TLD: ".bh", } // BI is "Burundi". BI = Country{ Capital: "Bujumbura", CallingCode: "257", CurrencyCode: "BIF", CurrencyName: "Franc", ContinentCode: "AF", ISO: "BI", ISO3: "BDI", ISONum: 108, Name: "Burundi", TLD: ".bi", } // BJ is "Benin". BJ = Country{ Capital: "Porto-Novo", CallingCode: "229", CurrencyCode: "XOF", CurrencyName: "Franc", ContinentCode: "AF", ISO: "BJ", ISO3: "BEN", ISONum: 204, Name: "Benin", TLD: ".bj", } // BL is "Saint Barthelemy". BL = Country{ Capital: "Gustavia", CallingCode: "590", CurrencyCode: "EUR", CurrencyName: "Euro", ContinentCode: "NA", ISO: "BL", ISO3: "BLM", ISONum: 652, Name: "Saint Barthelemy", TLD: ".gp", } // BM is "Bermuda". BM = Country{ Capital: "Hamilton", CallingCode: "+1-441", CurrencyCode: "BMD", CurrencyName: "Dollar", ContinentCode: "NA", ISO: "BM", ISO3: "BMU", ISONum: 60, Name: "Bermuda", TLD: ".bm", } // BN is "Brunei". BN = Country{ Capital: "Bandar Seri Begawan", CallingCode: "673", CurrencyCode: "BND", CurrencyName: "Dollar", ContinentCode: "AS", ISO: "BN", ISO3: "BRN", ISONum: 96, Name: "Brunei", TLD: ".bn", } // BO is "Bolivia". BO = Country{ Capital: "Sucre", CallingCode: "591", CurrencyCode: "BOB", CurrencyName: "Boliviano", ContinentCode: "SA", ISO: "BO", ISO3: "BOL", ISONum: 68, Name: "Bolivia", TLD: ".bo", } // BQ is "Bonaire, Saint Eustatius and Saba ". BQ = Country{ Capital: "", CallingCode: "599", CurrencyCode: "USD", CurrencyName: "Dollar", ContinentCode: "NA", ISO: "BQ", ISO3: "BES", ISONum: 535, Name: "Bonaire, Saint Eustatius and Saba ", TLD: ".bq", } // BR is "Brazil". BR = Country{ Capital: "Brasilia", CallingCode: "55", CurrencyCode: "BRL", CurrencyName: "Real", ContinentCode: "SA", ISO: "BR", ISO3: "BRA", ISONum: 76, Name: "Brazil", TLD: ".br", } // BS is "Bahamas". BS = Country{ Capital: "Nassau", CallingCode: "+1-242", CurrencyCode: "BSD", CurrencyName: "Dollar", ContinentCode: "NA", ISO: "BS", ISO3: "BHS", ISONum: 44, Name: "Bahamas", TLD: ".bs", } // BT is "Bhutan". BT = Country{ Capital: "Thimphu", CallingCode: "975", CurrencyCode: "BTN", CurrencyName: "Ngultrum", ContinentCode: "AS", ISO: "BT", ISO3: "BTN", ISONum: 64, Name: "Bhutan", TLD: ".bt", } // BV is "Bouvet Island". BV = Country{ Capital: "", CallingCode: "", CurrencyCode: "NOK", CurrencyName: "Krone", ContinentCode: "AN", ISO: "BV", ISO3: "BVT", ISONum: 74, Name: "Bouvet Island", TLD: ".bv", } // BW is "Botswana". BW = Country{ Capital: "Gaborone", CallingCode: "267", CurrencyCode: "BWP", CurrencyName: "Pula", ContinentCode: "AF", ISO: "BW", ISO3: "BWA", ISONum: 72, Name: "Botswana", TLD: ".bw", } // BY is "Belarus". BY = Country{ Capital: "Minsk", CallingCode: "375", CurrencyCode: "BYR", CurrencyName: "Ruble", ContinentCode: "EU", ISO: "BY", ISO3: "BLR", ISONum: 112, Name: "Belarus", TLD: ".by", } // BZ is "Belize". BZ = Country{ Capital: "Belmopan", CallingCode: "501", CurrencyCode: "BZD", CurrencyName: "Dollar", ContinentCode: "NA", ISO: "BZ", ISO3: "BLZ", ISONum: 84, Name: "Belize", TLD: ".bz", } // CA is "Canada". CA = Country{ Capital: "Ottawa", CallingCode: "1", CurrencyCode: "CAD", CurrencyName: "Dollar", ContinentCode: "NA", ISO: "CA", ISO3: "CAN", ISONum: 124, Name: "Canada", TLD: ".ca", } // CC is "Cocos Islands". CC = Country{ Capital: "West Island", CallingCode: "61", CurrencyCode: "AUD", CurrencyName: "Dollar", ContinentCode: "AS", ISO: "CC", ISO3: "CCK", ISONum: 166, Name: "Cocos Islands", TLD: ".cc", } // CD is "Democratic Republic of the Congo". CD = Country{ Capital: "Kinshasa", CallingCode: "243", CurrencyCode: "CDF", CurrencyName: "Franc", ContinentCode: "AF", ISO: "CD", ISO3: "COD", ISONum: 180, Name: "Democratic Republic of the Congo", TLD: ".cd", } // CF is "Central African Republic". CF = Country{ Capital: "Bangui", CallingCode: "236", CurrencyCode: "XAF", CurrencyName: "Franc", ContinentCode: "AF", ISO: "CF", ISO3: "CAF", ISONum: 140, Name: "Central African Republic", TLD: ".cf", } // CG is "Republic of the Congo". CG = Country{ Capital: "Brazzaville", CallingCode: "242", CurrencyCode: "XAF", CurrencyName: "Franc", ContinentCode: "AF", ISO: "CG", ISO3: "COG", ISONum: 178, Name: "Republic of the Congo", TLD: ".cg", } // CH is "Switzerland". CH = Country{ Capital: "Berne", CallingCode: "41", CurrencyCode: "CHF", CurrencyName: "Franc", ContinentCode: "EU", ISO: "CH", ISO3: "CHE", ISONum: 756, Name: "Switzerland", TLD: ".ch", } // CI is "Ivory Coast". CI = Country{ Capital: "Yamoussoukro", CallingCode: "225", CurrencyCode: "XOF", CurrencyName: "Franc", ContinentCode: "AF", ISO: "CI", ISO3: "CIV", ISONum: 384, Name: "Ivory Coast", TLD: ".ci", } // CK is "Cook Islands". CK = Country{ Capital: "Avarua", CallingCode: "682", CurrencyCode: "NZD", CurrencyName: "Dollar", ContinentCode: "OC", ISO: "CK", ISO3: "COK", ISONum: 184, Name: "Cook Islands", TLD: ".ck", } // CL is "Chile". CL = Country{ Capital: "Santiago", CallingCode: "56", CurrencyCode: "CLP", CurrencyName: "Peso", ContinentCode: "SA", ISO: "CL", ISO3: "CHL", ISONum: 152, Name: "Chile", TLD: ".cl", } // CM is "Cameroon". CM = Country{ Capital: "Yaounde", CallingCode: "237", CurrencyCode: "XAF", CurrencyName: "Franc", ContinentCode: "AF", ISO: "CM", ISO3: "CMR", ISONum: 120, Name: "Cameroon", TLD: ".cm", } // CN is "China". CN = Country{ Capital: "Beijing", CallingCode: "86", CurrencyCode: "CNY", CurrencyName: "Yuan Renminbi", ContinentCode: "AS", ISO: "CN", ISO3: "CHN", ISONum: 156, Name: "China", TLD: ".cn", } // CO is "Colombia". CO = Country{ Capital: "Bogota", CallingCode: "57", CurrencyCode: "COP", CurrencyName: "Peso", ContinentCode: "SA", ISO: "CO", ISO3: "COL", ISONum: 170, Name: "Colombia", TLD: ".co", } // CR is "Costa Rica". CR = Country{ Capital: "San Jose", CallingCode: "506", CurrencyCode: "CRC", CurrencyName: "Colon", ContinentCode: "NA", ISO: "CR", ISO3: "CRI", ISONum: 188, Name: "Costa Rica", TLD: ".cr", } // CU is "Cuba". CU = Country{ Capital: "Havana", CallingCode: "53", CurrencyCode: "CUP", CurrencyName: "Peso", ContinentCode: "NA", ISO: "CU", ISO3: "CUB", ISONum: 192, Name: "Cuba", TLD: ".cu", } // CV is "Cape Verde". CV = Country{ Capital: "Praia", CallingCode: "238", CurrencyCode: "CVE", CurrencyName: "Escudo", ContinentCode: "AF", ISO: "CV", ISO3: "CPV", ISONum: 132, Name: "Cape Verde", TLD: ".cv", } // CW is "Curacao". CW = Country{ Capital: " Willemstad", CallingCode: "599", CurrencyCode: "ANG", CurrencyName: "Guilder", ContinentCode: "NA", ISO: "CW", ISO3: "CUW", ISONum: 531, Name: "Curacao", TLD: ".cw", } // CX is "Christmas Island". CX = Country{ Capital: "Flying Fish Cove", CallingCode: "61", CurrencyCode: "AUD", CurrencyName: "Dollar", ContinentCode: "AS", ISO: "CX", ISO3: "CXR", ISONum: 162, Name: "Christmas Island", TLD: ".cx", } // CY is "Cyprus". CY = Country{ Capital: "Nicosia", CallingCode: "357", CurrencyCode: "EUR", CurrencyName: "Euro", ContinentCode: "EU", ISO: "CY", ISO3: "CYP", ISONum: 196, Name: "Cyprus", TLD: ".cy", } // CZ is "Czech Republic". CZ = Country{ Capital: "Prague", CallingCode: "420", CurrencyCode: "CZK", CurrencyName: "Koruna", ContinentCode: "EU", ISO: "CZ", ISO3: "CZE", ISONum: 203, Name: "Czech Republic", TLD: ".cz", } // DE is "Germany". DE = Country{ Capital: "Berlin", CallingCode: "49", CurrencyCode: "EUR", CurrencyName: "Euro", ContinentCode: "EU", ISO: "DE", ISO3: "DEU", ISONum: 276, Name: "Germany", TLD: ".de", } // DJ is "Djibouti". DJ = Country{ Capital: "Djibouti", CallingCode: "253", CurrencyCode: "DJF", CurrencyName: "Franc", ContinentCode: "AF", ISO: "DJ", ISO3: "DJI", ISONum: 262, Name: "Djibouti", TLD: ".dj", } // DK is "Denmark". DK = Country{ Capital: "Copenhagen", CallingCode: "45", CurrencyCode: "DKK", CurrencyName: "Krone", ContinentCode: "EU", ISO: "DK", ISO3: "DNK", ISONum: 208, Name: "Denmark", TLD: ".dk", } // DM is "Dominica". DM = Country{ Capital: "Roseau", CallingCode: "+1-767", CurrencyCode: "XCD", CurrencyName: "Dollar", ContinentCode: "NA", ISO: "DM", ISO3: "DMA", ISONum: 212, Name: "Dominica", TLD: ".dm", } // DO is "Dominican Republic". DO = Country{ Capital: "Santo Domingo", CallingCode: "+1-809 and 1-829", CurrencyCode: "DOP", CurrencyName: "Peso", ContinentCode: "NA", ISO: "DO", ISO3: "DOM", ISONum: 214, Name: "Dominican Republic", TLD: ".do", } // DZ is "Algeria". DZ = Country{ Capital: "Algiers", CallingCode: "213", CurrencyCode: "DZD", CurrencyName: "Dinar", ContinentCode: "AF", ISO: "DZ", ISO3: "DZA", ISONum: 12, Name: "Algeria", TLD: ".dz", } // EC is "Ecuador". EC = Country{ Capital: "Quito", CallingCode: "593", CurrencyCode: "USD", CurrencyName: "Dollar", ContinentCode: "SA", ISO: "EC", ISO3: "ECU", ISONum: 218, Name: "Ecuador", TLD: ".ec", } // EE is "Estonia". EE = Country{ Capital: "Tallinn", CallingCode: "372", CurrencyCode: "EUR", CurrencyName: "Euro", ContinentCode: "EU", ISO: "EE", ISO3: "EST", ISONum: 233, Name: "Estonia", TLD: ".ee", } // EG is "Egypt". EG = Country{ Capital: "Cairo", CallingCode: "20", CurrencyCode: "EGP", CurrencyName: "Pound", ContinentCode: "AF", ISO: "EG", ISO3: "EGY", ISONum: 818, Name: "Egypt", TLD: ".eg", } // EH is "Western Sahara". EH = Country{ Capital: "El-Aaiun", CallingCode: "212", CurrencyCode: "MAD", CurrencyName: "Dirham", ContinentCode: "AF", ISO: "EH", ISO3: "ESH", ISONum: 732, Name: "Western Sahara", TLD: ".eh", } // ER is "Eritrea". ER = Country{ Capital: "Asmara", CallingCode: "291", CurrencyCode: "ERN", CurrencyName: "Nakfa", ContinentCode: "AF", ISO: "ER", ISO3: "ERI", ISONum: 232, Name: "Eritrea", TLD: ".er", } // ES is "Spain". ES = Country{ Capital: "Madrid", CallingCode: "34", CurrencyCode: "EUR", CurrencyName: "Euro", ContinentCode: "EU", ISO: "ES", ISO3: "ESP", ISONum: 724, Name: "Spain", TLD: ".es", } // ET is "Ethiopia". ET = Country{ Capital: "Addis Ababa", CallingCode: "251", CurrencyCode: "ETB", CurrencyName: "Birr", ContinentCode: "AF", ISO: "ET", ISO3: "ETH", ISONum: 231, Name: "Ethiopia", TLD: ".et", } // FI is "Finland". FI = Country{ Capital: "Helsinki", CallingCode: "358", CurrencyCode: "EUR", CurrencyName: "Euro", ContinentCode: "EU", ISO: "FI", ISO3: "FIN", ISONum: 246, Name: "Finland", TLD: ".fi", } // FJ is "Fiji". FJ = Country{ Capital: "Suva", CallingCode: "679", CurrencyCode: "FJD", CurrencyName: "Dollar", ContinentCode: "OC", ISO: "FJ", ISO3: "FJI", ISONum: 242, Name: "Fiji", TLD: ".fj", } // FK is "Falkland Islands". FK = Country{ Capital: "Stanley", CallingCode: "500", CurrencyCode: "FKP", CurrencyName: "Pound", ContinentCode: "SA", ISO: "FK", ISO3: "FLK", ISONum: 238, Name: "Falkland Islands", TLD: ".fk", } // FM is "Micronesia". FM = Country{ Capital: "Palikir", CallingCode: "691", CurrencyCode: "USD", CurrencyName: "Dollar", ContinentCode: "OC", ISO: "FM", ISO3: "FSM", ISONum: 583, Name: "Micronesia", TLD: ".fm", } // FO is "Faroe Islands". FO = Country{ Capital: "Torshavn", CallingCode: "298", CurrencyCode: "DKK", CurrencyName: "Krone", ContinentCode: "EU", ISO: "FO", ISO3: "FRO", ISONum: 234, Name: "Faroe Islands", TLD: ".fo", } // FR is "France". FR = Country{ Capital: "Paris", CallingCode: "33", CurrencyCode: "EUR", CurrencyName: "Euro", ContinentCode: "EU", ISO: "FR", ISO3: "FRA", ISONum: 250, Name: "France", TLD: ".fr", } // GA is "Gabon". GA = Country{ Capital: "Libreville", CallingCode: "241", CurrencyCode: "XAF", CurrencyName: "Franc", ContinentCode: "AF", ISO: "GA", ISO3: "GAB", ISONum: 266, Name: "Gabon", TLD: ".ga", } // GB is "United Kingdom". GB = Country{ Capital: "London", CallingCode: "44", CurrencyCode: "GBP", CurrencyName: "Pound", ContinentCode: "EU", ISO: "GB", ISO3: "GBR", ISONum: 826, Name: "United Kingdom", TLD: ".uk", } // GD is "Grenada". GD = Country{ Capital: "St. George's", CallingCode: "+1-473", CurrencyCode: "XCD", CurrencyName: "Dollar", ContinentCode: "NA", ISO: "GD", ISO3: "GRD", ISONum: 308, Name: "Grenada", TLD: ".gd", } // GE is "Georgia". GE = Country{ Capital: "Tbilisi", CallingCode: "995", CurrencyCode: "GEL", CurrencyName: "Lari", ContinentCode: "AS", ISO: "GE", ISO3: "GEO", ISONum: 268, Name: "Georgia", TLD: ".ge", } // GF is "French Guiana". GF = Country{ Capital: "Cayenne", CallingCode: "594", CurrencyCode: "EUR", CurrencyName: "Euro", ContinentCode: "SA", ISO: "GF", ISO3: "GUF", ISONum: 254, Name: "French Guiana", TLD: ".gf", } // GG is "Guernsey". GG = Country{ Capital: "St Peter Port", CallingCode: "+44-1481", CurrencyCode: "GBP", CurrencyName: "Pound", ContinentCode: "EU", ISO: "GG", ISO3: "GGY", ISONum: 831, Name: "Guernsey", TLD: ".gg", } // GH is "Ghana". GH = Country{ Capital: "Accra", CallingCode: "233", CurrencyCode: "GHS", CurrencyName: "Cedi", ContinentCode: "AF", ISO: "GH", ISO3: "GHA", ISONum: 288, Name: "Ghana", TLD: ".gh", } // GI is "Gibraltar". GI = Country{ Capital: "Gibraltar", CallingCode: "350", CurrencyCode: "GIP", CurrencyName: "Pound", ContinentCode: "EU", ISO: "GI", ISO3: "GIB", ISONum: 292, Name: "Gibraltar", TLD: ".gi", } // GL is "Greenland". GL = Country{ Capital: "Nuuk", CallingCode: "299", CurrencyCode: "DKK", CurrencyName: "Krone", ContinentCode: "NA", ISO: "GL", ISO3: "GRL", ISONum: 304, Name: "Greenland", TLD: ".gl", } // GM is "Gambia". GM = Country{ Capital: "Banjul", CallingCode: "220", CurrencyCode: "GMD", CurrencyName: "Dalasi", ContinentCode: "AF", ISO: "GM", ISO3: "GMB", ISONum: 270, Name: "Gambia", TLD: ".gm", } // GN is "Guinea". GN = Country{ Capital: "Conakry", CallingCode: "224", CurrencyCode: "GNF", CurrencyName: "Franc", ContinentCode: "AF", ISO: "GN", ISO3: "GIN", ISONum: 324, Name: "Guinea", TLD: ".gn", } // GP is "Guadeloupe". GP = Country{ Capital: "Basse-Terre", CallingCode: "590", CurrencyCode: "EUR", CurrencyName: "Euro", ContinentCode: "NA", ISO: "GP", ISO3: "GLP", ISONum: 312, Name: "Guadeloupe", TLD: ".gp", } // GQ is "Equatorial Guinea". GQ = Country{ Capital: "Malabo", CallingCode: "240", CurrencyCode: "XAF", CurrencyName: "Franc", ContinentCode: "AF", ISO: "GQ", ISO3: "GNQ", ISONum: 226, Name: "Equatorial Guinea", TLD: ".gq", } // GR is "Greece". GR = Country{ Capital: "Athens", CallingCode: "30", CurrencyCode: "EUR", CurrencyName: "Euro", ContinentCode: "EU", ISO: "GR", ISO3: "GRC", ISONum: 300, Name: "Greece", TLD: ".gr", } // GS is "South Georgia and the South Sandwich Islands". GS = Country{ Capital: "Grytviken", CallingCode: "", CurrencyCode: "GBP", CurrencyName: "Pound", ContinentCode: "AN", ISO: "GS", ISO3: "SGS", ISONum: 239, Name: "South Georgia and the South Sandwich Islands", TLD: ".gs", } // GT is "Guatemala". GT = Country{ Capital: "Guatemala City", CallingCode: "502", CurrencyCode: "GTQ", CurrencyName: "Quetzal", ContinentCode: "NA", ISO: "GT", ISO3: "GTM", ISONum: 320, Name: "Guatemala", TLD: ".gt", } // GU is "Guam". GU = Country{ Capital: "Hagatna", CallingCode: "+1-671", CurrencyCode: "USD", CurrencyName: "Dollar", ContinentCode: "OC", ISO: "GU", ISO3: "GUM", ISONum: 316, Name: "Guam", TLD: ".gu", } // GW is "Guinea-Bissau". GW = Country{ Capital: "Bissau", CallingCode: "245", CurrencyCode: "XOF", CurrencyName: "Franc", ContinentCode: "AF", ISO: "GW", ISO3: "GNB", ISONum: 624, Name: "Guinea-Bissau", TLD: ".gw", } // GY is "Guyana". GY = Country{ Capital: "Georgetown", CallingCode: "592", CurrencyCode: "GYD", CurrencyName: "Dollar", ContinentCode: "SA", ISO: "GY", ISO3: "GUY", ISONum: 328, Name: "Guyana", TLD: ".gy", } // HK is "Hong Kong". HK = Country{ Capital: "Hong Kong", CallingCode: "852", CurrencyCode: "HKD", CurrencyName: "Dollar", ContinentCode: "AS", ISO: "HK", ISO3: "HKG", ISONum: 344, Name: "Hong Kong", TLD: ".hk", } // HM is "Heard Island and McDonald Islands". HM = Country{ Capital: "", CallingCode: " ", CurrencyCode: "AUD", CurrencyName: "Dollar", ContinentCode: "AN", ISO: "HM", ISO3: "HMD", ISONum: 334, Name: "Heard Island and McDonald Islands", TLD: ".hm", } // HN is "Honduras". HN = Country{ Capital: "Tegucigalpa", CallingCode: "504", CurrencyCode: "HNL", CurrencyName: "Lempira", ContinentCode: "NA", ISO: "HN", ISO3: "HND", ISONum: 340, Name: "Honduras", TLD: ".hn", } // HR is "Croatia". HR = Country{ Capital: "Zagreb", CallingCode: "385", CurrencyCode: "HRK", CurrencyName: "Kuna", ContinentCode: "EU", ISO: "HR", ISO3: "HRV", ISONum: 191, Name: "Croatia", TLD: ".hr", } // HT is "Haiti". HT = Country{ Capital: "Port-au-Prince", CallingCode: "509", CurrencyCode: "HTG", CurrencyName: "Gourde", ContinentCode: "NA", ISO: "HT", ISO3: "HTI", ISONum: 332, Name: "Haiti", TLD: ".ht", } // HU is "Hungary". HU = Country{ Capital: "Budapest", CallingCode: "36", CurrencyCode: "HUF", CurrencyName: "Forint", ContinentCode: "EU", ISO: "HU", ISO3: "HUN", ISONum: 348, Name: "Hungary", TLD: ".hu", } // ID is "Indonesia". ID = Country{ Capital: "Jakarta", CallingCode: "62", CurrencyCode: "IDR", CurrencyName: "Rupiah", ContinentCode: "AS", ISO: "ID", ISO3: "IDN", ISONum: 360, Name: "Indonesia", TLD: ".id", } // IE is "Ireland". IE = Country{ Capital: "Dublin", CallingCode: "353", CurrencyCode: "EUR", CurrencyName: "Euro", ContinentCode: "EU", ISO: "IE", ISO3: "IRL", ISONum: 372, Name: "Ireland", TLD: ".ie", } // IL is "Israel". IL = Country{ Capital: "Jerusalem", CallingCode: "972", CurrencyCode: "ILS", CurrencyName: "Shekel", ContinentCode: "AS", ISO: "IL", ISO3: "ISR", ISONum: 376, Name: "Israel", TLD: ".il", } // IM is "Isle of Man". IM = Country{ Capital: "Douglas, Isle of Man", CallingCode: "+44-1624", CurrencyCode: "GBP", CurrencyName: "Pound", ContinentCode: "EU", ISO: "IM", ISO3: "IMN", ISONum: 833, Name: "Isle of Man", TLD: ".im", } // IN is "India". IN = Country{ Capital: "New Delhi", CallingCode: "91", CurrencyCode: "INR", CurrencyName: "Rupee", ContinentCode: "AS", ISO: "IN", ISO3: "IND", ISONum: 356, Name: "India", TLD: ".in", } // IO is "British Indian Ocean Territory". IO = Country{ Capital: "Diego Garcia", CallingCode: "246", CurrencyCode: "USD", CurrencyName: "Dollar", ContinentCode: "AS", ISO: "IO", ISO3: "IOT", ISONum: 86, Name: "British Indian Ocean Territory", TLD: ".io", } // IQ is "Iraq". IQ = Country{ Capital: "Baghdad", CallingCode: "964", CurrencyCode: "IQD", CurrencyName: "Dinar", ContinentCode: "AS", ISO: "IQ", ISO3: "IRQ", ISONum: 368, Name: "Iraq", TLD: ".iq", } // IR is "Iran". IR = Country{ Capital: "Tehran", CallingCode: "98", CurrencyCode: "IRR", CurrencyName: "Rial", ContinentCode: "AS", ISO: "IR", ISO3: "IRN", ISONum: 364, Name: "Iran", TLD: ".ir", } // IS is "Iceland". IS = Country{ Capital: "Reykjavik", CallingCode: "354", CurrencyCode: "ISK", CurrencyName: "Krona", ContinentCode: "EU", ISO: "IS", ISO3: "ISL", ISONum: 352, Name: "Iceland", TLD: ".is", } // IT is "Italy". IT = Country{ Capital: "Rome", CallingCode: "39", CurrencyCode: "EUR", CurrencyName: "Euro", ContinentCode: "EU", ISO: "IT", ISO3: "ITA", ISONum: 380, Name: "Italy", TLD: ".it", } // JE is "Jersey". JE = Country{ Capital: "Saint Helier", CallingCode: "+44-1534", CurrencyCode: "GBP", CurrencyName: "Pound", ContinentCode: "EU", ISO: "JE", ISO3: "JEY", ISONum: 832, Name: "Jersey", TLD: ".je", } // JM is "Jamaica". JM = Country{ Capital: "Kingston", CallingCode: "+1-876", CurrencyCode: "JMD", CurrencyName: "Dollar", ContinentCode: "NA", ISO: "JM", ISO3: "JAM", ISONum: 388, Name: "Jamaica", TLD: ".jm", } // JO is "Jordan". JO = Country{ Capital: "Amman", CallingCode: "962", CurrencyCode: "JOD", CurrencyName: "Dinar", ContinentCode: "AS", ISO: "JO", ISO3: "JOR", ISONum: 400, Name: "Jordan", TLD: ".jo", } // JP is "Japan". JP = Country{ Capital: "Tokyo", CallingCode: "81", CurrencyCode: "JPY", CurrencyName: "Yen", ContinentCode: "AS", ISO: "JP", ISO3: "JPN", ISONum: 392, Name: "Japan", TLD: ".jp", } // KE is "Kenya". KE = Country{ Capital: "Nairobi", CallingCode: "254", CurrencyCode: "KES", CurrencyName: "Shilling", ContinentCode: "AF", ISO: "KE", ISO3: "KEN", ISONum: 404, Name: "Kenya", TLD: ".ke", } // KG is "Kyrgyzstan". KG = Country{ Capital: "Bishkek", CallingCode: "996", CurrencyCode: "KGS", CurrencyName: "Som", ContinentCode: "AS", ISO: "KG", ISO3: "KGZ", ISONum: 417, Name: "Kyrgyzstan", TLD: ".kg", } // KH is "Cambodia". KH = Country{ Capital: "Phnom Penh", CallingCode: "855", CurrencyCode: "KHR", CurrencyName: "Riels", ContinentCode: "AS", ISO: "KH", ISO3: "KHM", ISONum: 116, Name: "Cambodia", TLD: ".kh", } // KI is "Kiribati". KI = Country{ Capital: "Tarawa", CallingCode: "686", CurrencyCode: "AUD", CurrencyName: "Dollar", ContinentCode: "OC", ISO: "KI", ISO3: "KIR", ISONum: 296, Name: "Kiribati", TLD: ".ki", } // KM is "Comoros". KM = Country{ Capital: "Moroni", CallingCode: "269", CurrencyCode: "KMF", CurrencyName: "Franc", ContinentCode: "AF", ISO: "KM", ISO3: "COM", ISONum: 174, Name: "Comoros", TLD: ".km", } // KN is "Saint Kitts and Nevis". KN = Country{ Capital: "Basseterre", CallingCode: "+1-869", CurrencyCode: "XCD", CurrencyName: "Dollar", ContinentCode: "NA", ISO: "KN", ISO3: "KNA", ISONum: 659, Name: "Saint Kitts and Nevis", TLD: ".kn", } // KP is "North Korea". KP = Country{ Capital: "Pyongyang", CallingCode: "850", CurrencyCode: "KPW", CurrencyName: "Won", ContinentCode: "AS", ISO: "KP", ISO3: "PRK", ISONum: 408, Name: "North Korea", TLD: ".kp", } // KR is "South Korea". KR = Country{ Capital: "Seoul", CallingCode: "82", CurrencyCode: "KRW", CurrencyName: "Won", ContinentCode: "AS", ISO: "KR", ISO3: "KOR", ISONum: 410, Name: "South Korea", TLD: ".kr", } // XK is "Kosovo". XK = Country{ Capital: "Pristina", CallingCode: "", CurrencyCode: "EUR", CurrencyName: "Euro", ContinentCode: "EU", ISO: "XK", ISO3: "XKX", ISONum: 0, Name: "Kosovo", TLD: "", } // KW is "Kuwait". KW = Country{ Capital: "Kuwait City", CallingCode: "965", CurrencyCode: "KWD", CurrencyName: "Dinar", ContinentCode: "AS", ISO: "KW", ISO3: "KWT", ISONum: 414, Name: "Kuwait", TLD: ".kw", } // KY is "Cayman Islands". KY = Country{ Capital: "George Town", CallingCode: "+1-345", CurrencyCode: "KYD", CurrencyName: "Dollar", ContinentCode: "NA", ISO: "KY", ISO3: "CYM", ISONum: 136, Name: "Cayman Islands", TLD: ".ky", } // KZ is "Kazakhstan". KZ = Country{ Capital: "Astana", CallingCode: "7", CurrencyCode: "KZT", CurrencyName: "Tenge", ContinentCode: "AS", ISO: "KZ", ISO3: "KAZ", ISONum: 398, Name: "Kazakhstan", TLD: ".kz", } // LA is "Laos". LA = Country{ Capital: "Vientiane", CallingCode: "856", CurrencyCode: "LAK", CurrencyName: "Kip", ContinentCode: "AS", ISO: "LA", ISO3: "LAO", ISONum: 418, Name: "Laos", TLD: ".la", } // LB is "Lebanon". LB = Country{ Capital: "Beirut", CallingCode: "961", CurrencyCode: "LBP", CurrencyName: "Pound", ContinentCode: "AS", ISO: "LB", ISO3: "LBN", ISONum: 422, Name: "Lebanon", TLD: ".lb", } // LC is "Saint Lucia". LC = Country{ Capital: "Castries", CallingCode: "+1-758", CurrencyCode: "XCD", CurrencyName: "Dollar", ContinentCode: "NA", ISO: "LC", ISO3: "LCA", ISONum: 662, Name: "Saint Lucia", TLD: ".lc", } // LI is "Liechtenstein". LI = Country{ Capital: "Vaduz", CallingCode: "423", CurrencyCode: "CHF", CurrencyName: "Franc", ContinentCode: "EU", ISO: "LI", ISO3: "LIE", ISONum: 438, Name: "Liechtenstein", TLD: ".li", } // LK is "Sri Lanka". LK = Country{ Capital: "Colombo", CallingCode: "94", CurrencyCode: "LKR", CurrencyName: "Rupee", ContinentCode: "AS", ISO: "LK", ISO3: "LKA", ISONum: 144, Name: "Sri Lanka", TLD: ".lk", } // LR is "Liberia". LR = Country{ Capital: "Monrovia", CallingCode: "231", CurrencyCode: "LRD", CurrencyName: "Dollar", ContinentCode: "AF", ISO: "LR", ISO3: "LBR", ISONum: 430, Name: "Liberia", TLD: ".lr", } // LS is "Lesotho". LS = Country{ Capital: "Maseru", CallingCode: "266", CurrencyCode: "LSL", CurrencyName: "Loti", ContinentCode: "AF", ISO: "LS", ISO3: "LSO", ISONum: 426, Name: "Lesotho", TLD: ".ls", } // LT is "Lithuania". LT = Country{ Capital: "Vilnius", CallingCode: "370", CurrencyCode: "LTL", CurrencyName: "Litas", ContinentCode: "EU", ISO: "LT", ISO3: "LTU", ISONum: 440, Name: "Lithuania", TLD: ".lt", } // LU is "Luxembourg". LU = Country{ Capital: "Luxembourg", CallingCode: "352", CurrencyCode: "EUR", CurrencyName: "Euro", ContinentCode: "EU", ISO: "LU", ISO3: "LUX", ISONum: 442, Name: "Luxembourg", TLD: ".lu", } // LV is "Latvia". LV = Country{ Capital: "Riga", CallingCode: "371", CurrencyCode: "LVL", CurrencyName: "Lat", ContinentCode: "EU", ISO: "LV", ISO3: "LVA", ISONum: 428, Name: "Latvia", TLD: ".lv", } // LY is "Libya". LY = Country{ Capital: "Tripolis", CallingCode: "218", CurrencyCode: "LYD", CurrencyName: "Dinar", ContinentCode: "AF", ISO: "LY", ISO3: "LBY", ISONum: 434, Name: "Libya", TLD: ".ly", } // MA is "Morocco". MA = Country{ Capital: "Rabat", CallingCode: "212", CurrencyCode: "MAD", CurrencyName: "Dirham", ContinentCode: "AF", ISO: "MA", ISO3: "MAR", ISONum: 504, Name: "Morocco", TLD: ".ma", } // MC is "Monaco". MC = Country{ Capital: "Monaco", CallingCode: "377", CurrencyCode: "EUR", CurrencyName: "Euro", ContinentCode: "EU", ISO: "MC", ISO3: "MCO", ISONum: 492, Name: "Monaco", TLD: ".mc", } // MD is "Moldova". MD = Country{ Capital: "Chisinau", CallingCode: "373", CurrencyCode: "MDL", CurrencyName: "Leu", ContinentCode: "EU", ISO: "MD", ISO3: "MDA", ISONum: 498, Name: "Moldova", TLD: ".md", } // ME is "Montenegro". ME = Country{ Capital: "Podgorica", CallingCode: "382", CurrencyCode: "EUR", CurrencyName: "Euro", ContinentCode: "EU", ISO: "ME", ISO3: "MNE", ISONum: 499, Name: "Montenegro", TLD: ".me", } // MF is "Saint Martin". MF = Country{ Capital: "Marigot", CallingCode: "590", CurrencyCode: "EUR", CurrencyName: "Euro", ContinentCode: "NA", ISO: "MF", ISO3: "MAF", ISONum: 663, Name: "Saint Martin", TLD: ".gp", } // MG is "Madagascar". MG = Country{ Capital: "Antananarivo", CallingCode: "261", CurrencyCode: "MGA", CurrencyName: "Ariary", ContinentCode: "AF", ISO: "MG", ISO3: "MDG", ISONum: 450, Name: "Madagascar", TLD: ".mg", } // MH is "Marshall Islands". MH = Country{ Capital: "Majuro", CallingCode: "692", CurrencyCode: "USD", CurrencyName: "Dollar", ContinentCode: "OC", ISO: "MH", ISO3: "MHL", ISONum: 584, Name: "Marshall Islands", TLD: ".mh", } // MK is "Macedonia". MK = Country{ Capital: "Skopje", CallingCode: "389", CurrencyCode: "MKD", CurrencyName: "Denar", ContinentCode: "EU", ISO: "MK", ISO3: "MKD", ISONum: 807, Name: "Macedonia", TLD: ".mk", } // ML is "Mali". ML = Country{ Capital: "Bamako", CallingCode: "223", CurrencyCode: "XOF", CurrencyName: "Franc", ContinentCode: "AF", ISO: "ML", ISO3: "MLI", ISONum: 466, Name: "Mali", TLD: ".ml", } // MM is "Myanmar". MM = Country{ Capital: "Nay Pyi Taw", CallingCode: "95", CurrencyCode: "MMK", CurrencyName: "Kyat", ContinentCode: "AS", ISO: "MM", ISO3: "MMR", ISONum: 104, Name: "Myanmar", TLD: ".mm", } // MN is "Mongolia". MN = Country{ Capital: "Ulan Bator", CallingCode: "976", CurrencyCode: "MNT", CurrencyName: "Tugrik", ContinentCode: "AS", ISO: "MN", ISO3: "MNG", ISONum: 496, Name: "Mongolia", TLD: ".mn", } // MO is "Macao". MO = Country{ Capital: "Macao", CallingCode: "853", CurrencyCode: "MOP", CurrencyName: "Pataca", ContinentCode: "AS", ISO: "MO", ISO3: "MAC", ISONum: 446, Name: "Macao", TLD: ".mo", } // MP is "Northern Mariana Islands". MP = Country{ Capital: "Saipan", CallingCode: "+1-670", CurrencyCode: "USD", CurrencyName: "Dollar", ContinentCode: "OC", ISO: "MP", ISO3: "MNP", ISONum: 580, Name: "Northern Mariana Islands", TLD: ".mp", } // MQ is "Martinique". MQ = Country{ Capital: "Fort-de-France", CallingCode: "596", CurrencyCode: "EUR", CurrencyName: "Euro", ContinentCode: "NA", ISO: "MQ", ISO3: "MTQ", ISONum: 474, Name: "Martinique", TLD: ".mq", } // MR is "Mauritania". MR = Country{ Capital: "Nouakchott", CallingCode: "222", CurrencyCode: "MRO", CurrencyName: "Ouguiya", ContinentCode: "AF", ISO: "MR", ISO3: "MRT", ISONum: 478, Name: "Mauritania", TLD: ".mr", } // MS is "Montserrat". MS = Country{ Capital: "Plymouth", CallingCode: "+1-664", CurrencyCode: "XCD", CurrencyName: "Dollar", ContinentCode: "NA", ISO: "MS", ISO3: "MSR", ISONum: 500, Name: "Montserrat", TLD: ".ms", } // MT is "Malta". MT = Country{ Capital: "Valletta", CallingCode: "356", CurrencyCode: "EUR", CurrencyName: "Euro", ContinentCode: "EU", ISO: "MT", ISO3: "MLT", ISONum: 470, Name: "Malta", TLD: ".mt", } // MU is "Mauritius". MU = Country{ Capital: "Port Louis", CallingCode: "230", CurrencyCode: "MUR", CurrencyName: "Rupee", ContinentCode: "AF", ISO: "MU", ISO3: "MUS", ISONum: 480, Name: "Mauritius", TLD: ".mu", } // MV is "Maldives". MV = Country{ Capital: "Male", CallingCode: "960", CurrencyCode: "MVR", CurrencyName: "Rufiyaa", ContinentCode: "AS", ISO: "MV", ISO3: "MDV", ISONum: 462, Name: "Maldives", TLD: ".mv", } // MW is "Malawi". MW = Country{ Capital: "Lilongwe", CallingCode: "265", CurrencyCode: "MWK", CurrencyName: "Kwacha", ContinentCode: "AF", ISO: "MW", ISO3: "MWI", ISONum: 454, Name: "Malawi", TLD: ".mw", } // MX is "Mexico". MX = Country{ Capital: "Mexico City", CallingCode: "52", CurrencyCode: "MXN", CurrencyName: "Peso", ContinentCode: "NA", ISO: "MX", ISO3: "MEX", ISONum: 484, Name: "Mexico", TLD: ".mx", } // MY is "Malaysia". MY = Country{ Capital: "Kuala Lumpur", CallingCode: "60", CurrencyCode: "MYR", CurrencyName: "Ringgit", ContinentCode: "AS", ISO: "MY", ISO3: "MYS", ISONum: 458, Name: "Malaysia", TLD: ".my", } // MZ is "Mozambique". MZ = Country{ Capital: "Maputo", CallingCode: "258", CurrencyCode: "MZN", CurrencyName: "Metical", ContinentCode: "AF", ISO: "MZ", ISO3: "MOZ", ISONum: 508, Name: "Mozambique", TLD: ".mz", } // NA is "Namibia". NA = Country{ Capital: "Windhoek", CallingCode: "264", CurrencyCode: "NAD", CurrencyName: "Dollar", ContinentCode: "AF", ISO: "NA", ISO3: "NAM", ISONum: 516, Name: "Namibia", TLD: ".na", } // NC is "New Caledonia". NC = Country{ Capital: "Noumea", CallingCode: "687", CurrencyCode: "XPF", CurrencyName: "Franc", ContinentCode: "OC", ISO: "NC", ISO3: "NCL", ISONum: 540, Name: "New Caledonia", TLD: ".nc", } // NE is "Niger". NE = Country{ Capital: "Niamey", CallingCode: "227", CurrencyCode: "XOF", CurrencyName: "Franc", ContinentCode: "AF", ISO: "NE", ISO3: "NER", ISONum: 562, Name: "Niger", TLD: ".ne", } // NF is "Norfolk Island". NF = Country{ Capital: "Kingston", CallingCode: "672", CurrencyCode: "AUD", CurrencyName: "Dollar", ContinentCode: "OC", ISO: "NF", ISO3: "NFK", ISONum: 574, Name: "Norfolk Island", TLD: ".nf", } // NG is "Nigeria". NG = Country{ Capital: "Abuja", CallingCode: "234", CurrencyCode: "NGN", CurrencyName: "Naira", ContinentCode: "AF", ISO: "NG", ISO3: "NGA", ISONum: 566, Name: "Nigeria", TLD: ".ng", } // NI is "Nicaragua". NI = Country{ Capital: "Managua", CallingCode: "505", CurrencyCode: "NIO", CurrencyName: "Cordoba", ContinentCode: "NA", ISO: "NI", ISO3: "NIC", ISONum: 558, Name: "Nicaragua", TLD: ".ni", } // NL is "Netherlands". NL = Country{ Capital: "Amsterdam", CallingCode: "31", CurrencyCode: "EUR", CurrencyName: "Euro", ContinentCode: "EU", ISO: "NL", ISO3: "NLD", ISONum: 528, Name: "Netherlands", TLD: ".nl", } // NO is "Norway". NO = Country{ Capital: "Oslo", CallingCode: "47", CurrencyCode: "NOK", CurrencyName: "Krone", ContinentCode: "EU", ISO: "NO", ISO3: "NOR", ISONum: 578, Name: "Norway", TLD: ".no", } // NP is "Nepal". NP = Country{ Capital: "Kathmandu", CallingCode: "977", CurrencyCode: "NPR", CurrencyName: "Rupee", ContinentCode: "AS", ISO: "NP", ISO3: "NPL", ISONum: 524, Name: "Nepal", TLD: ".np", } // NR is "Nauru". NR = Country{ Capital: "Yaren", CallingCode: "674", CurrencyCode: "AUD", CurrencyName: "Dollar", ContinentCode: "OC", ISO: "NR", ISO3: "NRU", ISONum: 520, Name: "Nauru", TLD: ".nr", } // NU is "Niue". NU = Country{ Capital: "Alofi", CallingCode: "683", CurrencyCode: "NZD", CurrencyName: "Dollar", ContinentCode: "OC", ISO: "NU", ISO3: "NIU", ISONum: 570, Name: "Niue", TLD: ".nu", } // NZ is "New Zealand". NZ = Country{ Capital: "Wellington", CallingCode: "64", CurrencyCode: "NZD", CurrencyName: "Dollar", ContinentCode: "OC", ISO: "NZ", ISO3: "NZL", ISONum: 554, Name: "New Zealand", TLD: ".nz", } // OM is "Oman". OM = Country{ Capital: "Muscat", CallingCode: "968", CurrencyCode: "OMR", CurrencyName: "Rial", ContinentCode: "AS", ISO: "OM", ISO3: "OMN", ISONum: 512, Name: "Oman", TLD: ".om", } // PA is "Panama". PA = Country{ Capital: "Panama City", CallingCode: "507", CurrencyCode: "PAB", CurrencyName: "Balboa", ContinentCode: "NA", ISO: "PA", ISO3: "PAN", ISONum: 591, Name: "Panama", TLD: ".pa", } // PE is "Peru". PE = Country{ Capital: "Lima", CallingCode: "51", CurrencyCode: "PEN", CurrencyName: "Sol", ContinentCode: "SA", ISO: "PE", ISO3: "PER", ISONum: 604, Name: "Peru", TLD: ".pe", } // PF is "French Polynesia". PF = Country{ Capital: "Papeete", CallingCode: "689", CurrencyCode: "XPF", CurrencyName: "Franc", ContinentCode: "OC", ISO: "PF", ISO3: "PYF", ISONum: 258, Name: "French Polynesia", TLD: ".pf", } // PG is "Papua New Guinea". PG = Country{ Capital: "Port Moresby", CallingCode: "675", CurrencyCode: "PGK", CurrencyName: "Kina", ContinentCode: "OC", ISO: "PG", ISO3: "PNG", ISONum: 598, Name: "Papua New Guinea", TLD: ".pg", } // PH is "Philippines". PH = Country{ Capital: "Manila", CallingCode: "63", CurrencyCode: "PHP", CurrencyName: "Peso", ContinentCode: "AS", ISO: "PH", ISO3: "PHL", ISONum: 608, Name: "Philippines", TLD: ".ph", } // PK is "Pakistan". PK = Country{ Capital: "Islamabad", CallingCode: "92", CurrencyCode: "PKR", CurrencyName: "Rupee", ContinentCode: "AS", ISO: "PK", ISO3: "PAK", ISONum: 586, Name: "Pakistan", TLD: ".pk", } // PL is "Poland". PL = Country{ Capital: "Warsaw", CallingCode: "48", CurrencyCode: "PLN", CurrencyName: "Zloty", ContinentCode: "EU", ISO: "PL", ISO3: "POL", ISONum: 616, Name: "Poland", TLD: ".pl", } // PM is "Saint Pierre and Miquelon". PM = Country{ Capital: "Saint-Pierre", CallingCode: "508", CurrencyCode: "EUR", CurrencyName: "Euro", ContinentCode: "NA", ISO: "PM", ISO3: "SPM", ISONum: 666, Name: "Saint Pierre and Miquelon", TLD: ".pm", } // PN is "Pitcairn". PN = Country{ Capital: "Adamstown", CallingCode: "870", CurrencyCode: "NZD", CurrencyName: "Dollar", ContinentCode: "OC", ISO: "PN", ISO3: "PCN", ISONum: 612, Name: "Pitcairn", TLD: ".pn", } // PR is "Puerto Rico". PR = Country{ Capital: "San Juan", CallingCode: "+1-787 and 1-939", CurrencyCode: "USD", CurrencyName: "Dollar", ContinentCode: "NA", ISO: "PR", ISO3: "PRI", ISONum: 630, Name: "Puerto Rico", TLD: ".pr", } // PS is "Palestinian Territory". PS = Country{ Capital: "East Jerusalem", CallingCode: "970", CurrencyCode: "ILS", CurrencyName: "Shekel", ContinentCode: "AS", ISO: "PS", ISO3: "PSE", ISONum: 275, Name: "Palestinian Territory", TLD: ".ps", } // PT is "Portugal". PT = Country{ Capital: "Lisbon", CallingCode: "351", CurrencyCode: "EUR", CurrencyName: "Euro", ContinentCode: "EU", ISO: "PT", ISO3: "PRT", ISONum: 620, Name: "Portugal", TLD: ".pt", } // PW is "Palau". PW = Country{ Capital: "Melekeok", CallingCode: "680", CurrencyCode: "USD", CurrencyName: "Dollar", ContinentCode: "OC", ISO: "PW", ISO3: "PLW", ISONum: 585, Name: "Palau", TLD: ".pw", } // PY is "Paraguay". PY = Country{ Capital: "Asuncion", CallingCode: "595", CurrencyCode: "PYG", CurrencyName: "Guarani", ContinentCode: "SA", ISO: "PY", ISO3: "PRY", ISONum: 600, Name: "Paraguay", TLD: ".py", } // QA is "Qatar". QA = Country{ Capital: "Doha", CallingCode: "974", CurrencyCode: "QAR", CurrencyName: "Rial", ContinentCode: "AS", ISO: "QA", ISO3: "QAT", ISONum: 634, Name: "Qatar", TLD: ".qa", } // RE is "Reunion". RE = Country{ Capital: "Saint-Denis", CallingCode: "262", CurrencyCode: "EUR", CurrencyName: "Euro", ContinentCode: "AF", ISO: "RE", ISO3: "REU", ISONum: 638, Name: "Reunion", TLD: ".re", } // RO is "Romania". RO = Country{ Capital: "Bucharest", CallingCode: "40", CurrencyCode: "RON", CurrencyName: "Leu", ContinentCode: "EU", ISO: "RO", ISO3: "ROU", ISONum: 642, Name: "Romania", TLD: ".ro", } // RS is "Serbia". RS = Country{ Capital: "Belgrade", CallingCode: "381", CurrencyCode: "RSD", CurrencyName: "Dinar", ContinentCode: "EU", ISO: "RS", ISO3: "SRB", ISONum: 688, Name: "Serbia", TLD: ".rs", } // RU is "Russia". RU = Country{ Capital: "Moscow", CallingCode: "7", CurrencyCode: "RUB", CurrencyName: "Ruble", ContinentCode: "EU", ISO: "RU", ISO3: "RUS", ISONum: 643, Name: "Russia", TLD: ".ru", } // RW is "Rwanda". RW = Country{ Capital: "Kigali", CallingCode: "250", CurrencyCode: "RWF", CurrencyName: "Franc", ContinentCode: "AF", ISO: "RW", ISO3: "RWA", ISONum: 646, Name: "Rwanda", TLD: ".rw", } // SA is "Saudi Arabia". SA = Country{ Capital: "Riyadh", CallingCode: "966", CurrencyCode: "SAR", CurrencyName: "Rial", ContinentCode: "AS", ISO: "SA", ISO3: "SAU", ISONum: 682, Name: "Saudi Arabia", TLD: ".sa", } // SB is "Solomon Islands". SB = Country{ Capital: "Honiara", CallingCode: "677", CurrencyCode: "SBD", CurrencyName: "Dollar", ContinentCode: "OC", ISO: "SB", ISO3: "SLB", ISONum: 90, Name: "Solomon Islands", TLD: ".sb", } // SC is "Seychelles". SC = Country{ Capital: "Victoria", CallingCode: "248", CurrencyCode: "SCR", CurrencyName: "Rupee", ContinentCode: "AF", ISO: "SC", ISO3: "SYC", ISONum: 690, Name: "Seychelles", TLD: ".sc", } // SD is "Sudan". SD = Country{ Capital: "Khartoum", CallingCode: "249", CurrencyCode: "SDG", CurrencyName: "Pound", ContinentCode: "AF", ISO: "SD", ISO3: "SDN", ISONum: 729, Name: "Sudan", TLD: ".sd", } // SS is "South Sudan". SS = Country{ Capital: "Juba", CallingCode: "211", CurrencyCode: "SSP", CurrencyName: "Pound", ContinentCode: "AF", ISO: "SS", ISO3: "SSD", ISONum: 728, Name: "South Sudan", TLD: "", } // SE is "Sweden". SE = Country{ Capital: "Stockholm", CallingCode: "46", CurrencyCode: "SEK", CurrencyName: "Krona", ContinentCode: "EU", ISO: "SE", ISO3: "SWE", ISONum: 752, Name: "Sweden", TLD: ".se", } // SG is "Singapore". SG = Country{ Capital: "Singapur", CallingCode: "65", CurrencyCode: "SGD", CurrencyName: "Dollar", ContinentCode: "AS", ISO: "SG", ISO3: "SGP", ISONum: 702, Name: "Singapore", TLD: ".sg", } // SH is "Saint Helena". SH = Country{ Capital: "Jamestown", CallingCode: "290", CurrencyCode: "SHP", CurrencyName: "Pound", ContinentCode: "AF", ISO: "SH", ISO3: "SHN", ISONum: 654, Name: "Saint Helena", TLD: ".sh", } // SI is "Slovenia". SI = Country{ Capital: "Ljubljana", CallingCode: "386", CurrencyCode: "EUR", CurrencyName: "Euro", ContinentCode: "EU", ISO: "SI", ISO3: "SVN", ISONum: 705, Name: "Slovenia", TLD: ".si", } // SJ is "Svalbard and Jan Mayen". SJ = Country{ Capital: "Longyearbyen", CallingCode: "47", CurrencyCode: "NOK", CurrencyName: "Krone", ContinentCode: "EU", ISO: "SJ", ISO3: "SJM", ISONum: 744, Name: "Svalbard and Jan Mayen", TLD: ".sj", } // SK is "Slovakia". SK = Country{ Capital: "Bratislava", CallingCode: "421", CurrencyCode: "EUR", CurrencyName: "Euro", ContinentCode: "EU", ISO: "SK", ISO3: "SVK", ISONum: 703, Name: "Slovakia", TLD: ".sk", } // SL is "Sierra Leone". SL = Country{ Capital: "Freetown", CallingCode: "232", CurrencyCode: "SLL", CurrencyName: "Leone", ContinentCode: "AF", ISO: "SL", ISO3: "SLE", ISONum: 694, Name: "Sierra Leone", TLD: ".sl", } // SM is "San Marino". SM = Country{ Capital: "San Marino", CallingCode: "378", CurrencyCode: "EUR", CurrencyName: "Euro", ContinentCode: "EU", ISO: "SM", ISO3: "SMR", ISONum: 674, Name: "San Marino", TLD: ".sm", } // SN is "Senegal". SN = Country{ Capital: "Dakar", CallingCode: "221", CurrencyCode: "XOF", CurrencyName: "Franc", ContinentCode: "AF", ISO: "SN", ISO3: "SEN", ISONum: 686, Name: "Senegal", TLD: ".sn", } // SO is "Somalia". SO = Country{ Capital: "Mogadishu", CallingCode: "252", CurrencyCode: "SOS", CurrencyName: "Shilling", ContinentCode: "AF", ISO: "SO", ISO3: "SOM", ISONum: 706, Name: "Somalia", TLD: ".so", } // SR is "Suriname". SR = Country{ Capital: "Paramaribo", CallingCode: "597", CurrencyCode: "SRD", CurrencyName: "Dollar", ContinentCode: "SA", ISO: "SR", ISO3: "SUR", ISONum: 740, Name: "Suriname", TLD: ".sr", } // ST is "Sao Tome and Principe". ST = Country{ Capital: "Sao Tome", CallingCode: "239", CurrencyCode: "STD", CurrencyName: "Dobra", ContinentCode: "AF", ISO: "ST", ISO3: "STP", ISONum: 678, Name: "Sao Tome and Principe", TLD: ".st", } // SV is "El Salvador". SV = Country{ Capital: "San Salvador", CallingCode: "503", CurrencyCode: "USD", CurrencyName: "Dollar", ContinentCode: "NA", ISO: "SV", ISO3: "SLV", ISONum: 222, Name: "El Salvador", TLD: ".sv", } // SX is "Sint Maarten". SX = Country{ Capital: "Philipsburg", CallingCode: "599", CurrencyCode: "ANG", CurrencyName: "Guilder", ContinentCode: "NA", ISO: "SX", ISO3: "SXM", ISONum: 534, Name: "Sint Maarten", TLD: ".sx", } // SY is "Syria". SY = Country{ Capital: "Damascus", CallingCode: "963", CurrencyCode: "SYP", CurrencyName: "Pound", ContinentCode: "AS", ISO: "SY", ISO3: "SYR", ISONum: 760, Name: "Syria", TLD: ".sy", } // SZ is "Swaziland". SZ = Country{ Capital: "Mbabane", CallingCode: "268", CurrencyCode: "SZL", CurrencyName: "Lilangeni", ContinentCode: "AF", ISO: "SZ", ISO3: "SWZ", ISONum: 748, Name: "Swaziland", TLD: ".sz", } // TC is "Turks and Caicos Islands". TC = Country{ Capital: "Cockburn Town", CallingCode: "+1-649", CurrencyCode: "USD", CurrencyName: "Dollar", ContinentCode: "NA", ISO: "TC", ISO3: "TCA", ISONum: 796, Name: "Turks and Caicos Islands", TLD: ".tc", } // TD is "Chad". TD = Country{ Capital: "N'Djamena", CallingCode: "235", CurrencyCode: "XAF", CurrencyName: "Franc", ContinentCode: "AF", ISO: "TD", ISO3: "TCD", ISONum: 148, Name: "Chad", TLD: ".td", } // TF is "French Southern Territories". TF = Country{ Capital: "Port-aux-Francais", CallingCode: "", CurrencyCode: "EUR", CurrencyName: "Euro ", ContinentCode: "AN", ISO: "TF", ISO3: "ATF", ISONum: 260, Name: "French Southern Territories", TLD: ".tf", } // TG is "Togo". TG = Country{ Capital: "Lome", CallingCode: "228", CurrencyCode: "XOF", CurrencyName: "Franc", ContinentCode: "AF", ISO: "TG", ISO3: "TGO", ISONum: 768, Name: "Togo", TLD: ".tg", } // TH is "Thailand". TH = Country{ Capital: "Bangkok", CallingCode: "66", CurrencyCode: "THB", CurrencyName: "Baht", ContinentCode: "AS", ISO: "TH", ISO3: "THA", ISONum: 764, Name: "Thailand", TLD: ".th", } // TJ is "Tajikistan". TJ = Country{ Capital: "Dushanbe", CallingCode: "992", CurrencyCode: "TJS", CurrencyName: "Somoni", ContinentCode: "AS", ISO: "TJ", ISO3: "TJK", ISONum: 762, Name: "Tajikistan", TLD: ".tj", } // TK is "Tokelau". TK = Country{ Capital: "", CallingCode: "690", CurrencyCode: "NZD", CurrencyName: "Dollar", ContinentCode: "OC", ISO: "TK", ISO3: "TKL", ISONum: 772, Name: "Tokelau", TLD: ".tk", } // TL is "East Timor". TL = Country{ Capital: "Dili", CallingCode: "670", CurrencyCode: "USD", CurrencyName: "Dollar", ContinentCode: "OC", ISO: "TL", ISO3: "TLS", ISONum: 626, Name: "East Timor", TLD: ".tl", } // TM is "Turkmenistan". TM = Country{ Capital: "Ashgabat", CallingCode: "993", CurrencyCode: "TMT", CurrencyName: "Manat", ContinentCode: "AS", ISO: "TM", ISO3: "TKM", ISONum: 795, Name: "Turkmenistan", TLD: ".tm", } // TN is "Tunisia". TN = Country{ Capital: "Tunis", CallingCode: "216", CurrencyCode: "TND", CurrencyName: "Dinar", ContinentCode: "AF", ISO: "TN", ISO3: "TUN", ISONum: 788, Name: "Tunisia", TLD: ".tn", } // TO is "Tonga". TO = Country{ Capital: "Nuku'alofa", CallingCode: "676", CurrencyCode: "TOP", CurrencyName: "Pa'anga", ContinentCode: "OC", ISO: "TO", ISO3: "TON", ISONum: 776, Name: "Tonga", TLD: ".to", } // TR is "Turkey". TR = Country{ Capital: "Ankara", CallingCode: "90", CurrencyCode: "TRY", CurrencyName: "Lira", ContinentCode: "AS", ISO: "TR", ISO3: "TUR", ISONum: 792, Name: "Turkey", TLD: ".tr", } // TT is "Trinidad and Tobago". TT = Country{ Capital: "Port of Spain", CallingCode: "+1-868", CurrencyCode: "TTD", CurrencyName: "Dollar", ContinentCode: "NA", ISO: "TT", ISO3: "TTO", ISONum: 780, Name: "Trinidad and Tobago", TLD: ".tt", } // TV is "Tuvalu". TV = Country{ Capital: "Funafuti", CallingCode: "688", CurrencyCode: "AUD", CurrencyName: "Dollar", ContinentCode: "OC", ISO: "TV", ISO3: "TUV", ISONum: 798, Name: "Tuvalu", TLD: ".tv", } // TW is "Taiwan". TW = Country{ Capital: "Taipei", CallingCode: "886", CurrencyCode: "TWD", CurrencyName: "Dollar", ContinentCode: "AS", ISO: "TW", ISO3: "TWN", ISONum: 158, Name: "Taiwan", TLD: ".tw", } // TZ is "Tanzania". TZ = Country{ Capital: "Dodoma", CallingCode: "255", CurrencyCode: "TZS", CurrencyName: "Shilling", ContinentCode: "AF", ISO: "TZ", ISO3: "TZA", ISONum: 834, Name: "Tanzania", TLD: ".tz", } // UA is "Ukraine". UA = Country{ Capital: "Kiev", CallingCode: "380", CurrencyCode: "UAH", CurrencyName: "Hryvnia", ContinentCode: "EU", ISO: "UA", ISO3: "UKR", ISONum: 804, Name: "Ukraine", TLD: ".ua", } // UG is "Uganda". UG = Country{ Capital: "Kampala", CallingCode: "256", CurrencyCode: "UGX", CurrencyName: "Shilling", ContinentCode: "AF", ISO: "UG", ISO3: "UGA", ISONum: 800, Name: "Uganda", TLD: ".ug", } // UM is "United States Minor Outlying Islands". UM = Country{ Capital: "", CallingCode: "1", CurrencyCode: "USD", CurrencyName: "Dollar ", ContinentCode: "OC", ISO: "UM", ISO3: "UMI", ISONum: 581, Name: "United States Minor Outlying Islands", TLD: ".um", } // US is "United States". US = Country{ Capital: "Washington", CallingCode: "1", CurrencyCode: "USD", CurrencyName: "Dollar", ContinentCode: "NA", ISO: "US", ISO3: "USA", ISONum: 840, Name: "United States", TLD: ".us", } // UY is "Uruguay". UY = Country{ Capital: "Montevideo", CallingCode: "598", CurrencyCode: "UYU", CurrencyName: "Peso", ContinentCode: "SA", ISO: "UY", ISO3: "URY", ISONum: 858, Name: "Uruguay", TLD: ".uy", } // UZ is "Uzbekistan". UZ = Country{ Capital: "Tashkent", CallingCode: "998", CurrencyCode: "UZS", CurrencyName: "Som", ContinentCode: "AS", ISO: "UZ", ISO3: "UZB", ISONum: 860, Name: "Uzbekistan", TLD: ".uz", } // VA is "Vatican". VA = Country{ Capital: "Vatican City", CallingCode: "379", CurrencyCode: "EUR", CurrencyName: "Euro", ContinentCode: "EU", ISO: "VA", ISO3: "VAT", ISONum: 336, Name: "Vatican", TLD: ".va", } // VC is "Saint Vincent and the Grenadines". VC = Country{ Capital: "Kingstown", CallingCode: "+1-784", CurrencyCode: "XCD", CurrencyName: "Dollar", ContinentCode: "NA", ISO: "VC", ISO3: "VCT", ISONum: 670, Name: "Saint Vincent and the Grenadines", TLD: ".vc", } // VE is "Venezuela". VE = Country{ Capital: "Caracas", CallingCode: "58", CurrencyCode: "VEF", CurrencyName: "Bolivar", ContinentCode: "SA", ISO: "VE", ISO3: "VEN", ISONum: 862, Name: "Venezuela", TLD: ".ve", } // VG is "British Virgin Islands". VG = Country{ Capital: "Road Town", CallingCode: "+1-284", CurrencyCode: "USD", CurrencyName: "Dollar", ContinentCode: "NA", ISO: "VG", ISO3: "VGB", ISONum: 92, Name: "British Virgin Islands", TLD: ".vg", } // VI is "U.S. Virgin Islands". VI = Country{ Capital: "Charlotte Amalie", CallingCode: "+1-340", CurrencyCode: "USD", CurrencyName: "Dollar", ContinentCode: "NA", ISO: "VI", ISO3: "VIR", ISONum: 850, Name: "U.S. Virgin Islands", TLD: ".vi", } // VN is "Vietnam". VN = Country{ Capital: "Hanoi", CallingCode: "84", CurrencyCode: "VND", CurrencyName: "Dong", ContinentCode: "AS", ISO: "VN", ISO3: "VNM", ISONum: 704, Name: "Vietnam", TLD: ".vn", } // VU is "Vanuatu". VU = Country{ Capital: "Port Vila", CallingCode: "678", CurrencyCode: "VUV", CurrencyName: "Vatu", ContinentCode: "OC", ISO: "VU", ISO3: "VUT", ISONum: 548, Name: "Vanuatu", TLD: ".vu", } // WF is "Wallis and Futuna". WF = Country{ Capital: "Mata Utu", CallingCode: "681", CurrencyCode: "XPF", CurrencyName: "Franc", ContinentCode: "OC", ISO: "WF", ISO3: "WLF", ISONum: 876, Name: "Wallis and Futuna", TLD: ".wf", } // WS is "Samoa". WS = Country{ Capital: "Apia", CallingCode: "685", CurrencyCode: "WST", CurrencyName: "Tala", ContinentCode: "OC", ISO: "WS", ISO3: "WSM", ISONum: 882, Name: "Samoa", TLD: ".ws", } // YE is "Yemen". YE = Country{ Capital: "Sanaa", CallingCode: "967", CurrencyCode: "YER", CurrencyName: "Rial", ContinentCode: "AS", ISO: "YE", ISO3: "YEM", ISONum: 887, Name: "Yemen", TLD: ".ye", } // YT is "Mayotte". YT = Country{ Capital: "Mamoudzou", CallingCode: "262", CurrencyCode: "EUR", CurrencyName: "Euro", ContinentCode: "AF", ISO: "YT", ISO3: "MYT", ISONum: 175, Name: "Mayotte", TLD: ".yt", } // ZA is "South Africa". ZA = Country{ Capital: "Pretoria", CallingCode: "27", CurrencyCode: "ZAR", CurrencyName: "Rand", ContinentCode: "AF", ISO: "ZA", ISO3: "ZAF", ISONum: 710, Name: "South Africa", TLD: ".za", } // ZM is "Zambia". ZM = Country{ Capital: "Lusaka", CallingCode: "260", CurrencyCode: "ZMK", CurrencyName: "Kwacha", ContinentCode: "AF", ISO: "ZM", ISO3: "ZMB", ISONum: 894, Name: "Zambia", TLD: ".zm", } // ZW is "Zimbabwe". ZW = Country{ Capital: "Harare", CallingCode: "263", CurrencyCode: "ZWL", CurrencyName: "Dollar", ContinentCode: "AF", ISO: "ZW", ISO3: "ZWE", ISONum: 716, Name: "Zimbabwe", TLD: ".zw", } // CS is "Serbia and Montenegro". CS = Country{ Capital: "Belgrade", CallingCode: "381", CurrencyCode: "RSD", CurrencyName: "Dinar", ContinentCode: "EU", ISO: "CS", ISO3: "SCG", ISONum: 891, Name: "Serbia and Montenegro", TLD: ".cs", } // AN is "Netherlands Antilles". AN = Country{ Capital: "Willemstad", CallingCode: "599", CurrencyCode: "ANG", CurrencyName: "Guilder", ContinentCode: "NA", ISO: "AN", ISO3: "ANT", ISONum: 530, Name: "Netherlands Antilles", TLD: ".an", } // Countries maps an ISO code to a country. Countries = map[string]Country{}/* 252 elements not displayed */ )
Functions ¶
This section is empty.
Types ¶
type Country ¶
type Country struct { CallingCode string Capital string ContinentCode string CurrencyCode string CurrencyName string ISO string ISO3 string ISONum int Name string TLD string }
Country represents meta data about a country.
Click to show internal directories.
Click to hide internal directories.