Initial commit

This commit is contained in:
2026-05-20 16:13:58 +08:00
commit ceffbe382e
500 changed files with 157469 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
package main
import (
"stat/common/log"
"stat/tool/yc/model"
"stat/tool/yc/service"
"time"
)
func initMongoDB() error {
if err := model.InitMongoDB(); err != nil {
log.Error("InitMongoDB err", log.E(err))
return err
}
return nil
}
func main() {
initMongoDB()
time.Local, _ = time.LoadLocation("Asia/Shanghai")
_ = service.SyncUserInfo()
}