diff --git a/go.mod b/go.mod index e9c1f19..ba69999 100644 --- a/go.mod +++ b/go.mod @@ -8,7 +8,6 @@ require ( github.com/cloudflare/tableflip v1.2.2 github.com/dave/jennifer v1.4.1 github.com/getsentry/sentry-go v0.11.0 - github.com/go-playground/validator v9.31.0+incompatible github.com/go-playground/validator/v10 v10.9.0 github.com/go-redis/redis/v8 v8.11.2 github.com/golang-jwt/jwt v3.2.2+incompatible diff --git a/pkg/echox/error_handler.go b/pkg/echox/error_handler.go index 33c522a..e817098 100644 --- a/pkg/echox/error_handler.go +++ b/pkg/echox/error_handler.go @@ -7,7 +7,7 @@ import ( "reflect" sentryecho "github.com/getsentry/sentry-go/echo" - "github.com/go-playground/validator" + validator "github.com/go-playground/validator/v10" "github.com/labstack/echo/v4" "github.com/labstack/echo/v4/middleware" "go.uber.org/zap"