初始化v1

This commit is contained in:
2025-08-03 00:11:15 +08:00
commit b88c8b8afa
171 changed files with 22353 additions and 0 deletions

20
main.go Normal file
View File

@@ -0,0 +1,20 @@
package main
import (
_ "nl-video-api/internal/packed"
_ "github.com/gogf/gf/contrib/nosql/redis/v2"
_ "github.com/gogf/gf/contrib/drivers/mysql/v2"
"github.com/gogf/gf/v2/os/gctx"
"nl-video-api/internal/cmd"
"nl-video-api/utility/logger"
)
func main() {
// 初始化日志系统
logger.InitLogger()
// 启动应用
cmd.Main.Run(gctx.GetInitCtx())
}