13 lines
222 B
Go
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
|
|
}
|