Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/urethramancer/countries
Go package with country codes to country name translation, phone prefixes and postal address formatting.
https://github.com/urethramancer/countries
country-codes go golang internationalization letter-country phone-prefixes
Last synced: about 1 month ago
JSON representation
Go package with country codes to country name translation, phone prefixes and postal address formatting.
- Host: GitHub
- URL: https://github.com/urethramancer/countries
- Owner: Urethramancer
- License: mit
- Created: 2017-04-17T19:36:31.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-04-17T20:49:20.000Z (over 7 years ago)
- Last Synced: 2024-06-21T18:53:40.857Z (7 months ago)
- Topics: country-codes, go, golang, internationalization, letter-country, phone-prefixes
- Language: Go
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:```go
country := Country("VU")
```Get a phone prefix from a two-letter country code:
```go
pre := PhonePrefix("MN")
```## Licence
MIT.