split game.master

This commit is contained in:
Bel LaPointe
2021-03-13 16:02:30 -06:00
parent 4bf83b3e40
commit bce32ed6a3
4 changed files with 55 additions and 46 deletions

12
src/game/storage.go Normal file
View File

@@ -0,0 +1,12 @@
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
}