dongri / phonenumber

With a given country and phone number, validate and format the MOBILE phone number to E.164 standard
MIT License
186 stars 46 forks source link

Update country rules (CIV, DE, EST, PL, UA) and new test for mobile numbers approach #18

Closed 4rakcheev closed 2 years ago

4rakcheev commented 2 years ago

List of changes

1. Pull changes from the Original repo (dongri)

2. Golang module version up to 1.16

3. Some updates for mobile country codes (CIV, DE, EST, PL, UA)

4. Capitalize country codes in tests as in the standard ISO 3166-1 alpha-2 (lv -> LV)

5. Added more clarify test data in the TestGetCountryForMobileNumberWithLandLine

dongri commented 2 years ago

LGTM