refactor: Fix linter errors by auto-apply

- Apply automated linter fixes
- Manually reformat fields in model/service.go
- Resolve code complexity issues
This commit is contained in:
2025-11-04 19:59:17 +03:00
parent 180a5c2a90
commit fc8b723114
11 changed files with 60 additions and 32 deletions

View File

@@ -33,7 +33,6 @@ func PublicServices(items ...model.Service) []dto.PublicService {
}
wg.Wait()
}
return result
@@ -57,6 +56,7 @@ func PublicService(item model.Service) dto.PublicService {
}
slices.Reverse(statuses)
return dto.PublicService{
ID: int(item.ID),
Name: item.Name,