Files
cards/src/game/storage.go
2021-03-13 16:02:30 -06:00

13 lines
222 B
Go

package game
import (
"local/sandbox/cards/src/entity"
)
type Storage interface {
CreateGame(string) error
GetGame(string) (entity.Game, error)
ListGames() ([]string, error)
ReplaceGame(string, entity.Game) error
}