This repository has been archived on 2022-09-04. You can view files and clone it, but cannot push or open issues or pull requests.
api/playerhistory/usecase.go
Kichiyaki 05efc69b31 [WIP] - refactor limit, sort, offset
- update the Server/PlayerHistory repository and usecase
2020-11-21 10:50:52 +01:00

12 lines
200 B
Go

package playerhistory
import (
"context"
"github.com/tribalwarshelp/shared/models"
)
type Usecase interface {
Fetch(ctx context.Context, cfg FetchConfig) ([]*models.PlayerHistory, int, error)
}