Run go fix tool. Refactor

This commit is contained in:
2026-03-04 11:07:05 +01:00
parent 55475804f4
commit 0fa5d8bb8d
3 changed files with 7 additions and 9 deletions

View File

@@ -83,13 +83,11 @@ func runServer(ctx context.Context) error {
errChan := make(chan error, 1)
// Start HTTP server
wg.Add(1)
go func() {
defer wg.Done()
wg.Go(func() {
if err := srv.Start(ctx); err != nil {
errChan <- err
}
}()
})
// Handle shutdown signals
wg.Add(1)