diff --git a/backend/go.mod b/backend/go.mod index 5d770430..a87405eb 100644 --- a/backend/go.mod +++ b/backend/go.mod @@ -4,6 +4,7 @@ go 1.22.4 require github.com/rs/cors v1.10.1 -require github.com/lib/pq v1.10.9 - -require github.com/golang-jwt/jwt/v5 v5.2.1 +require ( + github.com/golang-jwt/jwt/v5 v5.2.1 + github.com/lib/pq v1.10.9 +) diff --git a/backend/go.sum b/backend/go.sum index 2a52a6c9..41187dbf 100644 --- a/backend/go.sum +++ b/backend/go.sum @@ -1,3 +1,5 @@ +github.com/golang-jwt/jwt/v5 v5.2.1 h1:OuVbFODueb089Lh128TAcimifWaLhJwVflnrgM17wHk= +github.com/golang-jwt/jwt/v5 v5.2.1/go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk= github.com/lib/pq v1.10.9 h1:YXG7RB+JIjhP29X+OtkiDnYaXQwpS4JEWq7dtCCRUEw= github.com/lib/pq v1.10.9/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= github.com/rs/cors v1.10.1 h1:L0uuZVXIKlI1SShY2nhFfo44TYvDPQ1w4oFkUJNfhyo= diff --git a/backend/main.go b/backend/main.go index 556abf65..51d4c2cf 100644 --- a/backend/main.go +++ b/backend/main.go @@ -15,10 +15,10 @@ import ( "strings" "time" + "github.com/golang-jwt/jwt/v5" "github.com/rs/cors" _ "github.com/lib/pq" - "github.com/rs/cors" ) type contextKey string