Full Go backend + Vue 3 frontend, OpenAI-compatible API, multi-provider account pools, billing/admin, Docker one-command deploy with auto HTTPS. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
21 lines
398 B
Go
21 lines
398 B
Go
package service
|
|
|
|
import (
|
|
"context"
|
|
|
|
"backend/internal/model"
|
|
"backend/internal/repo"
|
|
)
|
|
|
|
type ShowcaseService struct {
|
|
repo *repo.ShowcaseRepository
|
|
}
|
|
|
|
func NewShowcaseService(repo *repo.ShowcaseRepository) *ShowcaseService {
|
|
return &ShowcaseService{repo: repo}
|
|
}
|
|
|
|
func (s *ShowcaseService) Grouped(ctx context.Context) (map[string][]model.ShowcaseItem, error) {
|
|
return s.repo.Grouped(ctx)
|
|
}
|