Files
kontor/kontor-gin/internal/service/comic.go
T
Thomas Peetz f0f1819a1f
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
umstellung auf Service und Repository Verwendung - WIP
2026-09-25 16:57:23 +02:00

21 lines
427 B
Go

package service
import (
"context"
"kontor-api-gin/internal/models/comics"
"kontor-api-gin/internal/repository"
)
type ComicService struct {
repository *repository.ComicRepository
}
func NewComicService(repo *repository.ComicRepository) *ComicService {
service := &ComicService{repository: repo}
return service
}
func (service *ComicService) List(context context.Context) ([]comics.Comic, error) {
return nil, nil
}