v10.1.0
版本发布时间: 2019-12-25 13:53:06
go-playground/validator最新发布版本:v10.22.1(2024-09-09 08:17:07)
What's new?
🎄 Merry Christmas: 🎄
🎁 🎁 🎁 🎁 🎁 🎁 🎁 🎁
- Added
GetTag
functionality to the FieldLevel interface. Thanks @LRichi for the PR - Extended
Isunique
functionality to handle the uniqueness of struct fields in an array/slice. Thanks @shihanng for the PR - Improved documentation for custom functions. Thanks @skateinmars for the PR
- Added e.164 phone number validation. Thanks @taybart for the PR
- Optimize
isurl
nill error check, Thanks @whatvn for the PR - Remove unecessary casting in example, Thanks @Streppel for the PR
- Improve accuracy of the
datauri
validation regex, Thanks @JonathanWThom for the PR - Add boolean type support for the
eq
validator, Thanks @ghost for the PR - Punctuation fix to the CONTRIBUTING.md, Thanks @sclaire-1 for the PR
- Added ability to validate
oneof
for space-separated strings, Thanks @JonathanWThom for the PR