biter777 / countries

Countries - ISO-639, ISO-3166 countries codes with subdivisions and names, ISO-4217 currency designators, ITU-T E.164 IDD phone codes, countries capitals, UN M.49 codes, IANA ccTLD countries domains, FIPS, IOC/NOC and FIFA codes, VERY VERY FAST, compatible with Databases/JSON/BSON/GOB/XML/CSV, Emoji countries flags and currencies, Unicode CLDR.
https://pkg.go.dev/github.com/biter777/countries?tab=doc
BSD 2-Clause "Simplified" License
390 stars 74 forks source link

Czech Republic or Czechia? #33

Closed imprint75 closed 2 years ago

imprint75 commented 2 years ago

Thanks for your work on this!

We're noticing that countries.ByName("CZE") is returning Czech Republic here. The general pattern seem to be that we return the name as opposed to official_name from here in which case it seems like it should be Czechia, unless I'm missing something. Happy to submit a pr to resolve if this is not intentional.

biter777 commented 2 years ago

Make a PR pls. U r welcome! :)

biter777 commented 2 years ago

Fixed