From 8f586c7985b773a52d40c236fe45277dd62d895e Mon Sep 17 00:00:00 2001 From: art Date: Sat, 9 Dec 2023 20:00:01 +0300 Subject: [PATCH] Gracefully shutdown app --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index 3abe8a4..72e7061 100644 --- a/main.go +++ b/main.go @@ -27,6 +27,7 @@ func main() { <-sigs cancelCtx() + slog.Info("exit from main()") } func setup(appCfg *types.AppConfig) context.CancelFunc {