go-playground / validator

:100:Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving
MIT License
16.83k stars 1.32k forks source link

transport.go:417:45: undefined: os.ErrDeadlineExceeded #1032

Closed huizhang001 closed 1 year ago

huizhang001 commented 1 year ago

Package version eg. v9, v10:

v10

Issue, Question or Enhancement:

golang.org/x/net/http2

../../vendor/golang.org/x/net/http2/transport.go:417:45: undefined: os.ErrDeadlineExceeded

Code sample, to showcase or reproduce:

go version go1.13.15 darwin/amd64
huizhang001 commented 1 year ago

I tried. There is a problem with versions after v10.10.0

zemzale commented 1 year ago

I just ran the test suite with this version and no compilation errors on our side.

This must be an issue on your side. Check if you have actually updated the vendor packages.

This doesn't seem to be an issue unless you can provide an actual reproducible error.