fix names

This commit is contained in:
2026-10-01 13:13:03 +07:00
parent 76af14cb96
commit f462bc6a03
24 changed files with 213 additions and 213 deletions
+5 -5
View File
@@ -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,
)