# README
validator
It help to do validations.
Installation
go get github.com/gowok/plugins/validator
Validating
type User struct {
Email string `validate:"required,email"`
}
user := User{}
errs := validator.ValidateStruct(user, nil)
fmt.Println(errs)
output:
// text
User.Email: Email is a required field;
// json
{"User.Email":"Email is a required field"}
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author