更新依赖
This commit is contained in:
@@ -18,6 +18,12 @@ func main() {
|
||||
}
|
||||
|
||||
cache.InitCache()
|
||||
defer func() {
|
||||
err := cache.CloseCache()
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
}()
|
||||
|
||||
// 设置路由
|
||||
r := router.SetupRouter(cfg)
|
||||
|
||||
Reference in New Issue
Block a user