generated from VLADIMIR/template
add play
This commit is contained in:
@@ -156,6 +156,10 @@ func (s *GameService) PauseGame(ctx context.Context, id int) error {
|
||||
return s.gamesRepo.PauseGame(ctx, id)
|
||||
}
|
||||
|
||||
func (s *GameService) PlayGame(ctx context.Context, id int) error {
|
||||
return s.gamesRepo.PlayGame(ctx, id)
|
||||
}
|
||||
|
||||
func (s *GameService) FinishGame(ctx context.Context, id int) error {
|
||||
return s.gamesRepo.FinishGame(ctx, id)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user