WIP: Export Kontor DB
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s

This commit is contained in:
Thomas Peetz
2026-09-30 18:55:59 +02:00
parent 914e1214de
commit f5abb44466
52 changed files with 1458 additions and 146 deletions
+22
View File
@@ -0,0 +1,22 @@
package service
import (
"context"
"kontor-api-gin/internal/models"
"kontor-api-gin/internal/repository"
"log/slog"
)
type IssueworkService struct {
repository *repository.IssueworkRepository
}
func NewIssueworkService(repo *repository.IssueworkRepository) *IssueworkService {
service := &IssueworkService{repository: repo}
return service
}
func (service *IssueworkService) List(context context.Context) ([]models.IssueWork, error) {
slog.Info("IssueworkService#List")
return service.repository.FindAll(context)
}