From 5fcb4fb016df31736e022f8912431223cc575357 Mon Sep 17 00:00:00 2001 From: H3ALY Date: Wed, 29 Oct 2025 09:29:10 +0000 Subject: [PATCH] change the field to time.Time for correctness --- internal/models/ticket.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/internal/models/ticket.go b/internal/models/ticket.go index 13c3be0..6965e1d 100644 --- a/internal/models/ticket.go +++ b/internal/models/ticket.go @@ -1,11 +1,13 @@ package models +import "time" + type Ticket struct { Id int UserId int SyndicateId *int GameType string - DrawDate string + DrawDate time.Time Ball1 int Ball2 int Ball3 int