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

code like this // QueryPageProjectGrailRequest Request 请求 type QueryPageProjectGrailRequest struct { PageNo int32 `json:"page_no"` // 页码 PageSize int32 `json:"page_size"` // 每页数量 Sort string `json:"sort"` // 排序,支持多个 such as "col1 desc,...

Add "underscores" to validation error messages in both "alpha_dash" and "alpha_space" rules.

```go type User struct { FirstName string LastName string Address AddressSliceWrapper } type Address struct { IsMailing bool } type Addresses []Address ``` // AddressSliceWrapper embeds the alias type for...

1. adding date time format validator for iso-8601 rules 2. small cleanup on validator.go