-
i have a custom struct define like below, is that possible for server field valid success for ip or domain
```
import (
"github.com/asaskevich/govalidator"
)
func main() {
type Conn struct {…
-
### version
go version go1.13.5 darwin/amd64
go test ./...
fails
-
Why is `asaskevich/govalidator` so much slower in the below code? Am I wrong?
```go
package main
import (
"fmt"
"time"
"github.com/asaskevich/govalidator"
"github.com/go-playground/va…
-
is duckduckgo.com correct URL.
I ask because there so no defined protocol and I think this is a bug.
-
After some debugging I discovered a misspelling of a Govalidator struct tag in my code, i.e.
``` go
type Person struct {
Name string `valid:"aalpha"`
}
bob := Person{
Name: "1nv4lid",
}
```
…
ghost updated
3 years ago
-
The ValidateEmail function provided below utilizes the govalidator.IsExistingEmail() function to validate email addresses. However, using this function can cause issues with the validation of GitHub P…
-
### Package version eg. v9, v10:
v10
### Issue, Question or Enhancement:
Hello. I am trying to define a custom validator in a multipart.FileHeader type to validate file type and size, but …
brpaz updated
3 years ago
-
Can I use this with Echo?
-
I hope there is an api to get the first error in the error, instead of getting all the errors
```go
user := &User{}
_, e := govalidator.ValidateStruct(user)
if e != nil {
fmt.Println…
ghost updated
3 years ago
-
I would be interested to learn where within the RFC3986 specification, a "dot" at the end of the TLD is detailed as allowed.
```
// https://github.com/asaskevich/govalidator/blob/master/patterns.g…