-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix data race when calling GetISO3166
The data race was triggered when multiple goroutines tried to access and modify the global variable used for caching ISO3166 per-country configurations.
- Loading branch information
1 parent
2aa619e
commit b3ac1c1
Showing
1 changed file
with
15 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters