This commit is contained in:
2026-10-11 01:45:20 +07:00
parent 4243adeae9
commit 9d46fc0e13
37 changed files with 3670 additions and 788 deletions
+2
View File
@@ -2,12 +2,14 @@
package game_model
import (
"evening_detective_server/internal/repos"
"evening_detective_server/internal/services/scenarios_service"
"time"
)
// Game describes a game exposed by the service layer.
type Game struct {
Export *repos.GameExport
Format string
ID int
Name string
@@ -12,6 +12,7 @@ func MapGame(
) *Game {
return &Game{
ID: o.ID,
Export: o.Export,
Name: o.Name,
Description: o.Description,
Location: o.Location,