v10.4.1
版本发布时间: 2020-10-17 23:52:38
go-playground/validator最新发布版本:v10.22.1(2024-09-09 08:17:07)
What was fixed?
Fixed an issue where if the param of a time.Durtion type is specified as an integer, denoting nanosecond precision, instead of time duration string the validation would panic introduced in https://github.com/go-playground/validator/pull/642
The fix ensures it falls back to the previous expected behaviour.