Skip to content

liyue201/countries

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Countries

A simple lookup package for country codes to country names or phone prefixes, and formatting postal addresses.

Functions

Get a country name from a two-letter country code:

country := Country("VU")

Get a phone prefix from a two-letter country code:

pre := PhonePrefix("MN")

Licence

MIT.

About

Go package with country codes to country name translation, phone prefixes and postal address formatting.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%