nyaruka / phonenumbers

GoLang port of Google's libphonenumber library
MIT License
1.19k stars 145 forks source link

Country informations from numberToParse property doesn't exists #124

Open kurtvelican opened 1 year ago

kurtvelican commented 1 year ago

Hello, Is there any way to get country informations from numberToParse value ? A function that returns country informations like country code, country name, country alpha 2 etc.

This project doesn't have this property.

You can add a function like that: func CountryInfoFromNumberToParse (numberToParse string) (CountryInfo) {}

I hope you can add this property.

jambu-at-airmeez commented 3 months ago

I second this request. Thanks!

rowanseymour commented 3 months ago

This project is strictly a port of https://github.com/google/libphonenumber so if there's an equivalent function there, we'd accept a PR.