generated from VLADIMIR/template
fix names
This commit is contained in:
@@ -30,7 +30,7 @@ func (r *GamesRepo) AddGame(
|
||||
description string,
|
||||
location *string,
|
||||
startAt time.Time,
|
||||
scenarioId int32,
|
||||
scenarioID int32,
|
||||
format string,
|
||||
) (int, error) {
|
||||
id := 0
|
||||
@@ -43,7 +43,7 @@ func (r *GamesRepo) AddGame(
|
||||
description,
|
||||
location,
|
||||
startAt,
|
||||
scenarioId,
|
||||
scenarioID,
|
||||
format,
|
||||
).Scan(&id)
|
||||
|
||||
@@ -83,7 +83,7 @@ func (r *GamesRepo) GetGameByID(
|
||||
&game.StartAt,
|
||||
&game.Format,
|
||||
&game.Status,
|
||||
&game.ScenarioId,
|
||||
&game.ScenarioID,
|
||||
&game.StartedAt,
|
||||
&game.EndedAt,
|
||||
)
|
||||
@@ -168,7 +168,7 @@ func (r *GamesRepo) UpdateGame(
|
||||
description string,
|
||||
location *string,
|
||||
startAt time.Time,
|
||||
scenarioId int32,
|
||||
scenarioID int32,
|
||||
format string,
|
||||
) error {
|
||||
tag, err := r.pool.Exec(
|
||||
@@ -187,7 +187,7 @@ func (r *GamesRepo) UpdateGame(
|
||||
description,
|
||||
location,
|
||||
startAt,
|
||||
scenarioId,
|
||||
scenarioID,
|
||||
format,
|
||||
id,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user