1
0
mirror of https://github.com/ManyakRus/starter.git synced 2025-11-25 23:02:22 +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

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