Skip to content

Commit

Permalink
fix: validator for echo error handler
Browse files Browse the repository at this point in the history
  • Loading branch information
yinheli committed Aug 17, 2021
1 parent 9b1868f commit fc1ac93
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pkg/echox/error_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit fc1ac93

Please sign in to comment.