View definition

func ValidateStruct(s interface{}) (bool, error)

Defined in github.com/asaskevich/govalidator/validator.go

Description

ValidateStruct use tags for fields. result will be equal to false if there are any errors.