Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lazily initialize regexes to speed up
init()
(#1277)
Using `GODEBUG=inittrace=1` I found a relatively constant 10ms init caused by this function. Replaces #1246. @go-playground/validator-maintainers
- Loading branch information