validate icon indicating copy to clipboard operation
validate copied to clipboard

Go struct validation

Results 5 validate issues
Sort by recently updated
recently updated
newest added

Something like `validate: eq="config-api-v1.2.3"` would read better than `one_of="config-api-v1.2.3"`.

Hello, Im needing validate all fields from struct and return one unique list with errors. This option can be configured...

Hi, I am using revel framework and this is my struct type MVMVARS struct { Location string `json:"location" validate:"empty=false"` VMName string `json:"vm_name" validate:"empty=false"` ResourceGroupName string `json:"rg_name" validate:"empty=false"` AdminUsername string `json:"admin_username"...

A non-exhaustive list of URIs that fail validation can be seen here: https://play.golang.org/p/pKsNZZ00AKo Of particular note, most of the example `data:` URIs given in RFC-2397 do not validate, despite being...

bug

It looks like `v2.1.0` is removed from this repo but that version is still served from `proxy.golang.org`, which causes inconsistent `go mod tidy` behavior depending on `GOPROXY` env variable. With...