Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IUseCase ¶
type IUseCase interface { GetMatchByID(ctx context.Context, id int32) (db.Match, error) GetMatches(ctx context.Context) ([]db.Match, error) GetUpcomingMatchByTournament(ctx context.Context, tournamentID int32) ([][]db.GetUpcomingMatchesByTournamentRow, error) }
func NewUseCase ¶
type UseCase ¶
type UseCase struct {
// contains filtered or unexported fields
}
func (*UseCase) GetMatchByID ¶
func (*UseCase) GetUpcomingMatchByTournament ¶
Click to show internal directories.
Click to hide internal directories.