feat: jwt and check

This commit is contained in:
Leon
2025-12-05 13:27:04 +08:00
parent df30d7b549
commit 9682537d00
4 changed files with 99 additions and 1 deletions

3
go.mod
View File

@@ -4,6 +4,8 @@ go 1.24.5
require (
github.com/gin-gonic/gin v1.11.0
github.com/golang-jwt/jwt/v5 v5.3.0
golang.org/x/crypto v0.40.0
gopkg.in/yaml.v3 v3.0.1
gorm.io/driver/mysql v1.6.0
gorm.io/gorm v1.31.1
@@ -37,7 +39,6 @@ require (
github.com/ugorji/go/codec v1.3.0 // indirect
go.uber.org/mock v0.5.0 // indirect
golang.org/x/arch v0.20.0 // indirect
golang.org/x/crypto v0.40.0 // indirect
golang.org/x/mod v0.25.0 // indirect
golang.org/x/net v0.42.0 // indirect
golang.org/x/sync v0.16.0 // indirect