github go-playground/validator v9.10.0
Release 9.10.0

latest releases: v10.19.0, v10.18.0, v10.17.0...
6 years ago

What's new?

Added new validation hostname_rfc1123 the current hostname validation is for RFC 952

###I want to use the new hostname validation, but don't want to go around and change my struct tags.
No problem, just register an Alias eg.

validate := validator.New()
validate.RegisterAlias("hostname", "hostname_rfc1123")

Don't miss a new validator release

NewReleases is sending notifications on new releases.