Refactoring continues.

This commit is contained in:
2025-10-23 21:51:15 +01:00
parent 82f457c5a4
commit 0f60be448d
12 changed files with 248 additions and 249 deletions

View File

@@ -1,11 +1,11 @@
package matcher
package services
import (
"database/sql"
"fmt"
"synlotto-website/internal/helpers"
"synlotto-website/internal/models"
thunderballRules "synlotto-website/rules"
thunderballRules "synlotto-website/internal/rules/thunderball"
)
func MatchTicketToDraw(ticket models.MatchTicket, draw models.DrawResult, rules []models.PrizeRule, db *sql.DB) models.MatchResult {

View File

@@ -6,12 +6,11 @@ import (
"log"
lotteryTicketHandlers "synlotto-website/internal/handlers/lottery/tickets"
thunderballrules "synlotto-website/rules"
services "synlotto-website/services/draws"
thunderballrules "synlotto-website/internal/rules/thunderball"
services "synlotto-website/internal/services/draws"
"synlotto-website/internal/helpers"
"synlotto-website/internal/models"
"synlotto-website/matcher"
)
func RunTicketMatching(db *sql.DB, triggeredBy string) (models.MatchRunStats, error) {