govalidator icon indicating copy to clipboard operation
govalidator copied to clipboard

Validate Golang request data with simple rules. Highly inspired by Laravel's request validation.

Results 45 govalidator issues
Sort by recently updated
recently updated
newest added

Hello everyone, I'm just curious any companies or individual using **govalidator** in production? If you see the post please share with us, I'd like to include their list in Readme....

discussion

For example this ``` type X struct { a *int `json:"a"` } ```

help wanted
Need PR

Hi there! Today I just found out that for example ```map[string]string``` Just had a look on the source code but my knowledge is not enough to solve the problem. Even...

enhancement
Need PR

Probably we'll pass the request object to `AddCustomRule` to next major release (v.20) , but to do this we need more discussion

enhancement

Hi. I have a use case, for which I don't know how to set the flags from the validator. Those are the required fields `{ "title": "This is the title",...

enhancement
Need PR

{ "title": { "th": "en", #required "en": "th" #required "name": "xxxxxxx", #required }, "name": "xxxxxxx", #required "email":"[email protected]" } i want validate filed title>name and filed name outside how must imprement...

bug

``` ``` How can i validate a form input with same name?

enhancement

``` { "pnr": "bddddd", "quantity": 100, "flightType": "direct", "platform": { "groupWindowOffice": true, "groupWindowB2B": false, "serpOffice": true, "serpB2B": false } } ``` I want to validate the platform nested struct but...

Can I use this with Echo?

Getting this error when try to read Request after validation {"error": "http: invalid Read on closed Body"} When try to use c.ShouldBindJSON(&dept) in Controller function Request function ``` func CreateDepartment(request...