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

сделал folders.go

This commit is contained in:
Nikitin Aleksandr
2023-06-06 18:05:30 +03:00
parent db2826b6ff
commit 71fc53b2f8
414 changed files with 77299 additions and 5680 deletions

View File

@@ -248,13 +248,10 @@ func ForwardMessage(msg *imap.Message, email_send_to string) error {
return err
}
// WaitStop - ожидает отмену глобального контекста или сигнала завершения приложения
// WaitStop - ожидает отмену глобального контекста
func WaitStop() {
select {
//case <-stopapp.SignalInterrupt:
// log.Warn("Interrupt clean shutdown.")
// contextmain.CancelContext()
case <-contextmain.GetContext().Done():
log.Warn("Context app is canceled.")
}