File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed
Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 99 "github.com/create-go-app/net_http-go-template/app/validators"
1010 "github.com/create-go-app/net_http-go-template/pkg/utils"
1111 "github.com/create-go-app/net_http-go-template/platform/database"
12- "github.com/golang-jwt/jwt"
12+ "github.com/golang-jwt/jwt/v4 "
1313 "github.com/google/uuid"
1414)
1515
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ require (
66 github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751
77 github.com/auth0/go-jwt-middleware v1.0.1
88 github.com/go-playground/validator/v10 v10.8.0
9- github.com/golang-jwt/jwt v3.2.2+incompatible
9+ github.com/golang-jwt/jwt/v4 v4.0.0
1010 github.com/google/uuid v1.3.0
1111 github.com/gorilla/mux v1.8.0
1212 github.com/jackc/pgx/v4 v4.13.0
Original file line number Diff line number Diff line change @@ -54,8 +54,8 @@ github.com/go-sql-driver/mysql v1.5.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LB
5454github.com/go-stack/stack v1.8.0 /go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY =
5555github.com/gofrs/uuid v4.0.0+incompatible h1:1SD/1F5pU8p29ybwgQSwpQk+mwdRrXCYuPhW6m+TnJw =
5656github.com/gofrs/uuid v4.0.0+incompatible /go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM =
57- github.com/golang-jwt/jwt v3.2.2+incompatible h1:IfV12K8xAKAnZqdXVzCZ+TOjboZ2keLg81eXfW3O+oY =
58- github.com/golang-jwt/jwt v3.2.2+incompatible /go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I =
57+ github.com/golang-jwt/jwt/v4 v4.0.0 h1:RAqyYixv1p7uEnocuy8P1nru5wprCh/MH2BIlW5z5/o =
58+ github.com/golang-jwt/jwt/v4 v4.0.0 /go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg =
5959github.com/google/renameio v0.1.0 /go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI =
6060github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I =
6161github.com/google/uuid v1.3.0 /go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo =
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ package configs
22
33import (
44 jwtmiddleware "github.com/auth0/go-jwt-middleware"
5- "github.com/golang-jwt/jwt"
5+ "github.com/golang-jwt/jwt/v4 "
66)
77
88// JWTConfig func for
Original file line number Diff line number Diff line change 66 "os"
77 "time"
88
9- "github.com/golang-jwt/jwt"
9+ "github.com/golang-jwt/jwt/v4 "
1010)
1111
1212// GenerateNewJWTAccessToken func for generate a new JWT access (private) token
You can’t perform that action at this time.
0 commit comments