feat: jwt token generation (todo: create jwt validation middleware)

This commit is contained in:
hexlocation 2025-05-05 23:04:50 +02:00
parent d8caef7e5d
commit b28b719b51
9 changed files with 86 additions and 29 deletions

1
go.mod
View file

@ -18,6 +18,7 @@ require (
github.com/go-playground/universal-translator v0.18.1 // indirect
github.com/go-playground/validator/v10 v10.26.0 // indirect
github.com/goccy/go-json v0.10.5 // indirect
github.com/golang-jwt/jwt/v5 v5.2.2 // indirect
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
github.com/jackc/pgx/v5 v5.7.4 // indirect