Remove most of the checker warns

This commit is contained in:
Miguel de la Cruz 2021-09-25 17:32:37 +02:00
parent 3067beb96c
commit 6aa2a94865
5 changed files with 10 additions and 12 deletions

View file

@ -104,7 +104,7 @@ func (gs *GameStore) Create(name string, userID int) (*model.Game, error) {
return nil, fmt.Errorf("cannot get game by id: %w", err)
}
res, err = gs.Q().Insert("gamemembers").
_, err = gs.Q().Insert("gamemembers").
Columns(gameMemberColumns...).
Values(game.ID, userID, model.RoleGameMaster, 0).
Exec()