feat: 增加内存存储

This commit is contained in:
tbphp
2025-07-05 15:42:20 +08:00
parent d64ada4181
commit 9b252bbd3e
10 changed files with 289 additions and 1 deletions

3
go.mod
View File

@@ -11,6 +11,7 @@ require (
github.com/go-sql-driver/mysql v1.8.1
github.com/google/uuid v1.6.0
github.com/joho/godotenv v1.5.1
github.com/redis/go-redis/v9 v9.5.3
github.com/sirupsen/logrus v1.9.3
gorm.io/datatypes v1.2.1
gorm.io/driver/mysql v1.6.0
@@ -21,7 +22,9 @@ require (
filippo.io/edwards25519 v1.1.0 // indirect
github.com/bytedance/sonic v1.13.3 // indirect
github.com/bytedance/sonic/loader v0.2.4 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/cloudwego/base64x v0.1.5 // indirect
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
github.com/gabriel-vasile/mimetype v1.4.9 // indirect
github.com/gin-contrib/sse v1.1.0 // indirect
github.com/go-playground/locales v0.14.1 // indirect