diff --git a/internal/models/contest.go b/internal/models/contest.go index c3b4182..b8d0caf 100644 --- a/internal/models/contest.go +++ b/internal/models/contest.go @@ -1,8 +1,8 @@ package models type Contest struct { - Id *int `db:"id"` - Name *string `db:"name"` - //CreatedAt time.Time `db:"created_at"` FIXME - //UpdatedAt time.Time `db:"updated_at"` FIXME + Id *int `db:"id"` + Name *string `db:"name"` + CreatedAt *time.Time `db:"created_at"` + UpdatedAt *time.Time `db:"updated_at"` }