Documentation ¶
Index ¶
- type Game
- type GameImpl
- func (g *GameImpl) Add(ctx context.Context, game *v1game.Game) error
- func (g *GameImpl) Delete(ctx context.Context, filter interface{}) error
- func (g *GameImpl) FindOne(ctx context.Context, filter interface{}) (*v1game.Game, error)
- func (g *GameImpl) Update(ctx context.Context, filter interface{}, update interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Game ¶
type Game interface { //add game Add(ctx context.Context, game *v1game.Game) (err error) //find FindOne(ctx context.Context, filter interface{}) (*v1game.Game, error) //update game Update(ctx context.Context, filter interface{}, update interface{}) error //delete game Delete(ctx context.Context, filter interface{}) error }
game interface
Click to show internal directories.
Click to hide internal directories.