feat: 引入dig服务依赖管理

This commit is contained in:
tbphp
2025-07-06 22:44:41 +08:00
parent a992c28593
commit 3b6468af83
12 changed files with 404 additions and 266 deletions

1
go.mod
View File

@@ -12,6 +12,7 @@ require (
github.com/joho/godotenv v1.5.1
github.com/redis/go-redis/v9 v9.5.3
github.com/sirupsen/logrus v1.9.3
go.uber.org/dig v1.19.0
gorm.io/datatypes v1.2.1
gorm.io/driver/mysql v1.6.0
gorm.io/gorm v1.30.0