issues
search
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
Fix data race when calling `GetISO3166`
#35
Closed
georgepsarakis
closed
1 year ago
georgepsarakis
commented
1 year ago
Use parallelization in test cases in order to reproduce the problem and also detect such issues in the future.
Enable race detector when running unit tests in Github Actions.
Fix the data race by adding a package-level initialization function that populates the ISO3166 configurations on package initialization only.
dongri
commented
1 year ago
@georgepsarakis Thank you LGTM