add templ engine
This commit is contained in:
@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user