govalidator
govalidator copied to clipboard
Validate Golang request data with simple rules. Highly inspired by Laravel's request validation.
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....
For example this ``` type X struct { a *int `json:"a"` } ```
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...
Probably we'll pass the request object to `AddCustomRule` to next major release (v.20) , but to do this we need more discussion
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",...
{ "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...
``` ``` How can i validate a form input with same name?
``` { "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...