Release 9.9.0
What's new?
Added map key validation support with new keys and endkeys eg.
type Test struct {
Map map[string]string `validate:"dive,keys,trim,endkeys,trim"`
}keys must be directly after the dive tag; this was done for efficiency to allow map keys and values to be be handled within the same range.
see docs for more details.