-
Heya, playing around with govalidator recently I wanted to validate some input for a **relative** path, it seems that the `isFilePath` function only valides **absolute** paths?
E.g:
* `isFilePat…
-
When I run `glide get gopkg.in/redis.v5` glide detects version as the lastest one (v6+) that is failing to compile.
I had to specify the version in glide.yaml for it to get the correct package vers…
-
I have an a problem with validate float field in structure:
```
type Order struct {
Total float32 `db:"total" json:"total" valid:"float,required"`
}
```
My originally json look…
-
We get the response below if there are optional fields in the proto file:
`code generator protoc-gen-govalidators hasn't been updated to support optional fields in proto3. Please ask the owner of thi…
-
Suppose that I have this struct:
```
type PersonUpdateRequest struct {
Name *string `json:"name"`
Age *int `json:"age"`
}
```
This represent a request body of a REST endpoint to…
-
Validator fails to validate elements (structs) of a list when they have required fields.
I have the following structs:
type CustomerOption struct {
Name string `valid:"required" json:"name"`…
-
We should keep a list of similar libraries for Go that does validation. These should also be added to the competitor benchmark.
-
This is the second highest starred validation package in Go, but it appears there is no maintainer or activity on this repo.
I would use go-playground/validator (the highest starred validation pack…
-
I wanna validate the slice length to use govalidator as a JSON schema checker. JSON schema has maxItems and minItems validator.
http://json-schema.org/latest/json-schema-validation.html#anchor42
Isn…
-
I tried several options:
```
valid:"length(min)=1"
valid:"length(min):1"
valid:"length(1|255)"
valid:"length(1,255)"
```
This never returns any error nor does it catch an empty input. Can someone he…