repository

package
v0.0.0-...-c2c5a46 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Battle

type Battle interface {
	CreateOrUpdate(ctx context.Context, battle *entity.BattleSession) error
	LoadByID(ctx context.Context, id uint) (*entity.BattleSession, error)
	LoadMany(ctx context.Context, predicate predicate.BattleSession) ([]*entity.BattleSession, error)
	RemoveByID(ctx context.Context, id uint) error
}

Directories

Path Synopsis
Package mockrepository is a generated GoMock package.
Package mockrepository is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL