Skip to content

Commit 1e35b22

Browse files
committed
Update dependencies; Switch to github.com/golang-jwt/jwt
1 parent 81c04bf commit 1e35b22

File tree

6 files changed

+31
-326
lines changed

6 files changed

+31
-326
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ make docker.run
4444
| [auth0/go-jwt-middleware](https://github.com/auth0/go-jwt-middleware) | `v1.0.1` | middleware |
4545
| [swaggo/http-swagger](https://github.com/swaggo/http-swagger) | `v1.0.0` | middleware |
4646
| [stretchr/testify](https://github.com/stretchr/testify) | `v1.7.0` | tests |
47-
| [dgrijalva/jwt-go](https://github.com/dgrijalva/jwt-go) | `v3.2.0` | auth |
47+
| [golang-jwt/jwt](https://github.com/golang-jwt/jwt) | `v3.2.1` | auth |
4848
| [joho/godotenv](https://github.com/joho/godotenv) | `v1.3.0` | config |
4949
| [jmoiron/sqlx](https://github.com/jmoiron/sqlx) | `v1.3.4` | database |
50-
| [jackc/pgx](https://github.com/jackc/pgx) | `v4.11.0` | database |
50+
| [jackc/pgx](https://github.com/jackc/pgx) | `v4.13.0` | database |
5151
| [swaggo/swag](https://github.com/swaggo/swag) | `v1.7.0` | utils |
5252
| [google/uuid](https://github.com/google/uuid) | `v1.3.0` | utils |
53-
| [go-playground/validator](https://github.com/go-playground/validator) | `v10.7.0` | utils |
53+
| [go-playground/validator](https://github.com/go-playground/validator) | `v10.8.0` | utils |
5454

5555
## 🗄 Template structure
5656

app/controllers/user_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
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/dgrijalva/jwt-go"
12+
"github.com/golang-jwt/jwt"
1313
"github.com/google/uuid"
1414
)
1515

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ go 1.16
55
require (
66
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751
77
github.com/auth0/go-jwt-middleware v1.0.1
8-
github.com/dgrijalva/jwt-go v3.2.0+incompatible
9-
github.com/go-playground/validator/v10 v10.7.0
8+
github.com/go-playground/validator/v10 v10.8.0
9+
github.com/golang-jwt/jwt v3.2.1+incompatible
1010
github.com/google/uuid v1.3.0
1111
github.com/gorilla/mux v1.8.0
12-
github.com/jackc/pgx/v4 v4.12.0
12+
github.com/jackc/pgx/v4 v4.13.0
1313
github.com/jmoiron/sqlx v1.3.4
1414
github.com/joho/godotenv v1.3.0
1515
github.com/swaggo/http-swagger v1.0.0

0 commit comments

Comments
 (0)