Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllCountries = [...]Country{}/* 136 elements not displayed */
AllCountries is an array of all the country codes available in this package
View Source
var AllLanguages = [...]Language{}/* 118 elements not displayed */
AllLanguages is an array of all the language codes available in this package
Functions ¶
func IsValidCountry ¶
func IsValidLanguage ¶
Types ¶
type Country ¶
type Country string
Country is the country code which the playstore supports.
const ( Albania Country = "al" Algeria Country = "dz" Angola Country = "ao" AntiguaAndBarbuda Country = "ag" Argentina Country = "ar" Armenia Country = "am" Aruba Country = "aw" Australia Country = "au" Austria Country = "at" Azerbaijan Country = "az" Bahamas Country = "bs" Bahrain Country = "bh" Bangladesh Country = "bd" Belarus Country = "by" Belgium Country = "be" Belize Country = "bz" Benin Country = "bj" Bolivia Country = "bo" BosniaAndHerzegovina Country = "ba" Botswana Country = "bw" Brazil Country = "br" Bulgaria Country = "bg" BurkinaFaso Country = "bf" Cambodia Country = "kh" Cameroon Country = "cm" Canada Country = "ca" CapeVerde Country = "cv" Chile Country = "cl" Colombia Country = "co" CostaRica Country = "cr" // CoteDIvoire is Cote d'Ivoire(Ivory Coast) CoteDIvoire Country = "ci" Croatia Country = "hr" Cyprus Country = "cy" CzechRepublic Country = "cz" Denmark Country = "dk" DominicanRepublic Country = "do" Ecuador Country = "ec" Egypt Country = "eg" ElSalvador Country = "sv" Estonia Country = "ee" Fiji Country = "fj" Finland Country = "fi" France Country = "fr" Gabon Country = "ga" Germany Country = "de" Ghana Country = "gh" Greece Country = "gr" Guatemala Country = "gt" GuineaBissau Country = "gw" Haiti Country = "ht" Honduras Country = "hn" HongKong Country = "hk" Hungary Country = "hu" Iceland Country = "is" India Country = "in" Indonesia Country = "id" Ireland Country = "ie" Italy Country = "it" Jamaica Country = "jm" Japan Country = "jb" Jordan Country = "jo" Kazakhstan Country = "kz" Kenya Country = "ke" Kuwait Country = "kw" Kyrgyzstan Country = "kg" Laos Country = "la" Latvia Country = "lv" Lebanon Country = "lb" Liechtenstein Country = "li" Lithuania Country = "lt" Luxembourg Country = "lu" Macedonia Country = "mk" Malaysia Country = "my" Mali Country = "ml" Malta Country = "mt" Mauritius Country = "mu" Mexico Country = "mx" Moldova Country = "md" Morocco Country = "ma" Mozambique Country = "mz" Namibia Country = "na" Nepal Country = "np" Netherlands Country = "nl" NetherlandsAntilles Country = "an" NewZealand Country = "nz" Nicaragua Country = "ni" Niger Country = "ne" Nigeria Country = "ng" Norway Country = "no" Oman Country = "om" Pakistan Country = "pk" Panama Country = "pa" PapuaNewGuinea Country = "pg" Paraguay Country = "py" Peru Country = "pe" Philippines Country = "ph" Poland Country = "pl" Portugal Country = "pt" Qatar Country = "qa" Romania Country = "ro" Russia Country = "ru" Rwanda Country = "rw" SaudiArabia Country = "sa" Senegal Country = "sn" Serbia Country = "rs" Singapore Country = "sg" Slovakia Country = "sk" Slovenia Country = "si" SouthAfrica Country = "za" SouthKorea Country = "kr" Spain Country = "es" SriLanka Country = "lk" Sweden Country = "se" Switzerland Country = "ch" Taiwan Country = "tw" Tajikistan Country = "tj" Tanzania Country = "tz" Thailand Country = "th" Togo Country = "tg" TrinidadAndTobago Country = "tt" Tunisia Country = "tn" Turkey Country = "tr" Turkmenistan Country = "tm" Uganda Country = "ug" Ukraine Country = "ua" // UAE is United Arab Emirates UAE Country = "ae" // UK is United Kingdom UK Country = "gb" // US is United States (including Puerto Rico, American Samoa, Guam, // Marshall Islands, Northern Mariana Islands, Palau and US Virgin Islands) US Country = "us" Uruguay Country = "uy" Uzbekistan Country = "uz" Venezuela Country = "ve" Vietnam Country = "vn" Yemen Country = "ye" Zambia Country = "zm" Zimbabwe Country = "zw" )
const DefCountry Country = ""
DefCountry doesn't represent a specific country, it's equivalent to setting the country to the one of the host making the requests, as seen by the store.
type Language ¶
type Language string
Language is the language code which the playstore supports.
const ( Afrikaans Language = "af" Amharic Language = "am" Arabic Language = "ar" Azeri Language = "az" Belarusian Language = "be" Bulgarian Language = "bg" Bengali Language = "bn" Bosnian Language = "bs" Catalan Language = "ca" Czech Language = "cs" Danish Language = "da" German Language = "de" GermanAustria Language = "de_AT" GermanSwitzerland Language = "de_CH" Greek Language = "el" English Language = "en" EnglishAustralia Language = "en_AU" EnglishCanada Language = "en_CA" EnglishUK Language = "en_GB" EnglishIreland Language = "en_IE" EnglishIndia Language = "en_IN" EnglishSingapore Language = "en_SG" EnglishUS Language = "en_US" EnglishSouthAfrica Language = "en_ZA" Spanish Language = "es" SpanishLatinAmerica Language = "es_419" SpanishArgentina Language = "es_AR" SpanishBolivia Language = "es_BO" SpanishChile Language = "es_CL" SpanishColombia Language = "es_CO" SpanishCostaRica Language = "es_CR" SpanishDominicanRepublic Language = "es_DO" SpanishEcuador Language = "es_EC" SpanishSpain Language = "es-ES" SpanishGuatemala Language = "es_GT" SpanishHonduras Language = "es_HN" SpanishMexico Language = "es_MX" SpanishNicaragua Language = "es_NI" SpanishPanama Language = "es_PA" SpanishPeru Language = "es_PE" SpanishPuertoRico Language = "es_PR" SpanishParaguay Language = "es_PY" SpanishElSalvador Language = "es_SV" SpanishUS Language = "es_US" SpanishUruguay Language = "es_UY" SpanishVenezuela Language = "es_VE" Estonian Language = "et" Basque Language = "eu" Farsi Language = "fa" Finnish Language = "fi" Filipino Language = "fil" French Language = "fr" FrenchCanada Language = "fr_CA" FrenchFrance Language = "fr_FR" FrenchSwitzerland Language = "fr_CH" Galician Language = "gl" SwissGerman Language = "gsw" Gujarati Language = "gu" Hebrew Language = "he" Hindi Language = "hi" Croatian Language = "hr" Hungarian Language = "hu" Armenian Language = "hy" Indonesian Language = "id" Indonesian2 Language = "in" Icelandic Language = "is" Italian Language = "it" Japanese Language = "ja" Georgian Language = "ka" Kazakh Language = "kk" Khmer Language = "km" Kannada Language = "kn" Korean Language = "ko" Kyrgyz Language = "ky" Lingala Language = "ln" Lao Language = "lo" Lithuanian Language = "lt" Latvian Language = "lv" Macedonian Language = "mk" Malayalam Language = "ml" Mongolian Language = "mn" Marathi Language = "mr" Malay Language = "ms" Burmese Language = "my" NorwegianBokmal Language = "nb" Nepali Language = "ne" Dutch Language = "nl" Norwegian Language = "no" Punjabi Language = "pa" Polish Language = "pl" Portuguese Language = "pt" PortugueseBrazil Language = "pt_BR" PortuguesePortugal Language = "pt_PT" Romanian Language = "ro" Russian Language = "ru" Sinhala Language = "si" Slovak Language = "sk" Slovenian Language = "sl" Albanian Language = "sq" Serbian Language = "sr" SerbianLatin Language = "sr_LATN" Swedish Language = "sv" Swahili Language = "sw" Tamil Language = "ta" Telugu Language = "te" Thai Language = "th" Tagalog Language = "tl" Turkish Language = "tr" Ukrainian Language = "uk" Urdu Language = "ur" Uzbek Language = "uz" Vietnamese Language = "vi" Chinese Language = "zh" ChineseSimplified Language = "zh_CN" ChineseHongKong Language = "zh_HK" ChineseTraditional Language = "zh_TW" Zulu Language = "zu" )
const DefLanguage Language = ""
DefLanguage doesn't represent a specific language, it's equivalent to setting the language to the one of the host making the requests, as seen by the store.
Click to show internal directories.
Click to hide internal directories.