Fixed README.md. Added missing tags.
Fixed function names in comments in baked_in.go.
Fixed error strings in validator_instance.go (should not be
capitalized).
Fixed twice imported assert package in validator_test.go.
* Implement ValidateMapCtx func for validating map data
* Add ValidateMap func for validating map data with an empty context
* Implement a basic example of ValidateMap method
* Update ValidateMapCtx method, so it can validate nested maps
* Due to changes in ValidateMapCtx, make some updates on ValidateMap method
* Update tests due to changes in ValidateMap method
* Create a basic test for validating nested maps
* Handle error when invalid data is supplied for diving
This fixes a few documentation issues I noticed.
- Explain what Func is supposed to return.
- Remove change reference to ActualNamespace to mention StructNamespace
instead.
- Remove references to Validatable, which no longer exists.
- Fix godoc formatting.
- Delete extra text from ReportValidationErrors comment.
- Change ReportError interface definition so its arguments are named
consistently with what they do.
Running goimports on the codebase deletes all the imports of "github.com/go-playground/universal-translator".
The fix consists of explicitly qualifying the import statements with ut.