v0.3.1
Add support for pointer types for xxInt, xxUint, and xxFloat validators. This way, we can use chained required
and minint
in one validation:
v.Builder("score", s.Score).Required().MinInt(1)
Full Changelog: v0.3.0...v0.3.1
Add support for pointer types for xxInt, xxUint, and xxFloat validators. This way, we can use chained required
and minint
in one validation:
v.Builder("score", s.Score).Required().MinInt(1)
Full Changelog: v0.3.0...v0.3.1