15 lines
313 B
Go
Raw Normal View History

2025-01-05 02:53:54 +01:00
package repo
import (
model "git.kapelle.org/niklas/beerpong-elo/internal/model"
)
type Repo interface {
AddGame(game model.InputGame) model.GameID
GetGame(id model.GameID) model.Game
GetAllGames() []model.Game
GetOrCreatePlayerID(name string) model.PlayerID
GetPlayer(id model.PlayerID) *model.Player
}