This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user