fix: 降级golang.org/x/crypto到v0.31.0以兼容Go 1.22

This commit is contained in:
2026-04-27 16:02:26 +08:00
parent 75b7a45c97
commit 3e86776872
2 changed files with 21 additions and 23 deletions
+3 -3
View File
@@ -6,9 +6,9 @@ require (
github.com/gin-gonic/gin v1.9.1
github.com/glebarez/sqlite v1.11.0
github.com/golang-jwt/jwt/v5 v5.3.1
github.com/google/uuid v1.3.0
github.com/joho/godotenv v1.5.1
github.com/go-playground/validator/v10 v10.14.0
golang.org/x/crypto v0.50.0
golang.org/x/crypto v0.31.0
gorm.io/driver/mysql v1.6.0
gorm.io/driver/postgres v1.6.0
gorm.io/gorm v1.31.1
@@ -26,10 +26,10 @@ require (
github.com/glebarez/go-sqlite v1.21.2 // indirect
github.com/go-playground/locales v0.14.1 // indirect
github.com/go-playground/universal-translator v0.18.1 // indirect
github.com/go-playground/validator/v10 v10.14.0 // indirect
github.com/go-sql-driver/mysql v1.8.1 // indirect
github.com/goccy/go-json v0.10.5 // indirect
github.com/goccy/go-yaml v1.19.2 // indirect
github.com/google/uuid v1.3.0 // 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.6.0 // indirect