Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add e164 #426

Merged
merged 3 commits into from
Mar 7, 2021
Merged

Add e164 #426

merged 3 commits into from
Mar 7, 2021

Conversation

ArshiAAkhavan
Copy link
Contributor

I added E164 validator for phone numbers in this repo. Also wrote a test to check whether it works or not in validator_test.go file.
Changes I made are: added proper E164 regex in patterns.go and then added a function in validator.go to check whether if phone number has E164 format or not.

@asaskevich asaskevich merged commit 4271e98 into asaskevich:master Mar 7, 2021
@asaskevich
Copy link
Owner

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants