Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use os.ReadFile to solve leaking files problem in loadLocales (#90)
This change fixes the leaking files problem in loadLocales by invoking os.ReadFile (introduced in Go1.16) which is much shorter than the previous patterns and doesn't leak resources. Fixes #89
- Loading branch information