add templ engine

This commit is contained in:
Aleksandr Trushkin
2024-01-21 16:49:47 +03:00
parent d4974b30ec
commit d5f76f4e07
18 changed files with 1659 additions and 9 deletions

View File

@ -93,13 +93,16 @@ func app(ctx context.Context) error {
defer xcontext.LogInfo(ctx, log, "finished bprocess")
bgProcess.Run()
return nil
})
eg.Go(func() error {
xcontext.LogInfo(ctx, log, "running cancelation waiter")
defer xcontext.LogInfo(ctx, log, "finished cancelation waiter")
<-egctx.Done()
sdctx, sdcancel := context.WithTimeout(context.Background(), time.Second*15)
defer sdcancel()