add rest client
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s

This commit is contained in:
2026-09-27 03:09:22 +02:00
parent f0f1819a1f
commit 2d6fa7b7ee
17 changed files with 243 additions and 21 deletions
+3 -1
View File
@@ -4,6 +4,7 @@ import (
"context"
"kontor-api-gin/internal/models/comics"
"kontor-api-gin/internal/repository"
"log/slog"
)
type ComicService struct {
@@ -16,5 +17,6 @@ func NewComicService(repo *repository.ComicRepository) *ComicService {
}
func (service *ComicService) List(context context.Context) ([]comics.Comic, error) {
return nil, nil
slog.Info("ComicService#List")
return service.repository.List(context)
}