generated from VLADIMIR/template
up
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user