1
0
mirror of https://github.com/ManyakRus/starter.git synced 2025-11-24 22:53:52 +02:00

сделал Start_ctx()

This commit is contained in:
Nikitin Aleksandr
2024-09-27 15:36:29 +03:00
parent abdea4d808
commit 4a2270cca1
1132 changed files with 66003 additions and 22006 deletions

View File

@@ -262,7 +262,16 @@ func Start_ctx(ctx *context.Context, WaitGroup *sync.WaitGroup) error {
stopapp.SetWaitGroup_Main(WaitGroup)
//
StartDB()
err = Connect_err()
if err != nil {
return err
}
stopapp.GetWaitGroup_Main().Add(1)
go WaitStop()
stopapp.GetWaitGroup_Main().Add(1)
go ping_go()
return err
}