Kichiyaki
01fdd80f7f
- rename middleware.MayExceedLimit to CanExceedLimit - update the DailyTribeStats/DailyPlayerStats repository and usecase - rename utils.SanitizeSort to utils.SanitizeSortExpression - add two new utils - SanitizeSortExpressions and FindStringWithPrefix
12 lines
206 B
Go
12 lines
206 B
Go
package dailyplayerstats
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/tribalwarshelp/shared/models"
|
|
)
|
|
|
|
type Usecase interface {
|
|
Fetch(ctx context.Context, cfg FetchConfig) ([]*models.DailyPlayerStats, int, error)
|
|
}
|