change the field to time.Time for correctness
This commit is contained in:
@@ -1,11 +1,13 @@
|
|||||||
package models
|
package models
|
||||||
|
|
||||||
|
import "time"
|
||||||
|
|
||||||
type Ticket struct {
|
type Ticket struct {
|
||||||
Id int
|
Id int
|
||||||
UserId int
|
UserId int
|
||||||
SyndicateId *int
|
SyndicateId *int
|
||||||
GameType string
|
GameType string
|
||||||
DrawDate string
|
DrawDate time.Time
|
||||||
Ball1 int
|
Ball1 int
|
||||||
Ball2 int
|
Ball2 int
|
||||||
Ball3 int
|
Ball3 int
|
||||||
|
|||||||
Reference in New Issue
Block a user