feat: auth.

This commit is contained in:
2025-03-20 16:40:39 +08:00
parent 1d9b568bef
commit c09b51ba02
4 changed files with 112 additions and 4 deletions

3
go.mod
View File

@ -4,7 +4,8 @@ go 1.23.3
require (
github.com/gin-gonic/gin v1.10.0
github.com/lib/pq v1.10.9
github.com/golang-jwt/jwt/v4 v4.5.1
github.com/golang-jwt/jwt/v5 v5.2.1
github.com/spf13/viper v1.20.0
gorm.io/driver/postgres v1.5.11
gorm.io/gorm v1.25.12