feat: reastructure and create commands
Some checks failed
Go / build (push) Has been cancelled

This commit is contained in:
2025-09-16 21:11:14 +02:00
parent 8180b38225
commit 6f069ad97b
14 changed files with 387 additions and 5 deletions

View File

@@ -45,11 +45,11 @@ func (s *Service) Generate(creditor, deptor model.Entity, mindur time.Duration,
)
html, err := r.ToHTML()
if err != nil {
return
return document, r, err
}
document, err = s.pdf.HtmlToPdf(html)
return
return document, r, err
}
func filter[T any](slice []T, ok func(T) bool) []T {