-
package main
import (
"fmt"
"github.com/asaskevich/govalidator"
)
func main() {
fmt.Println(govalidator.IsDataURI("http://majesticraft.com/deedee/ke/fdee/purchase%order.doc"))
fmt.Pri…
-
`package main
import (
"fmt"
"github.com/asaskevich/govalidator"
)
func main() {
url := "http://xn--41a.xn----8sbivjiocsggj.xn--p1ai/jxoka"
domain := "xn--41a.xn----8sbivjiocsggj.xn--…
-
### Bug Report
All tags are bad.
#### Summary
https://go.dev/ref/mod#versions
> Major version suffixes
>Starting with major version 2, module paths must have a major version suffix like /…
-
fatal error: concurrent map read and map write
goroutine 2399752 [running]:
runtime.throw(0xb2bbd7, 0x21)
/mnt/shared/go/src/runtime/panic.go:605 +0x95 fp=0xc60cb5c3c0 sp=0xc60cb5c3a0 pc=0x42d1f…
-
-
-
-
Can I use this with Echo?
-
https://en.wikipedia.org/wiki/E.164
-
Looks like for some use-cases govalidator tries to unmarshal request body fields into Go struct fields before running validation. I have a struct:
``type S struct { Foo bool `json:"foo"` }``
And t…