formating
This commit is contained in:
parent
6a1e9148d6
commit
8b8d982e9f
@ -17,6 +17,8 @@ type Repo interface {
|
|||||||
// Get player by id. Returns nil if not found.
|
// Get player by id. Returns nil if not found.
|
||||||
GetPlayer(model.PlayerID) (*model.Player, error)
|
GetPlayer(model.PlayerID) (*model.Player, error)
|
||||||
|
|
||||||
|
GetAllPlayers() ([]model.Player, error)
|
||||||
|
|
||||||
// Adds a game result. ID needs to be nil on argument.
|
// Adds a game result. ID needs to be nil on argument.
|
||||||
AddGameResult(model.GameResult) (model.GameResultID, error)
|
AddGameResult(model.GameResult) (model.GameResultID, error)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user