This commit is contained in:
PB
2025-10-24 10:15:45 +02:00
parent 3b1ff1b649
commit 7d9c66ae26
3 changed files with 8 additions and 8 deletions

View File

@@ -9,5 +9,5 @@ type Product struct {
Slug string `db:"slug"`
Price float64 `db:"price"`
CreatedAt time.Time `db:"created_at"`
UpdatedAt *time.Time `db:"updated_at,omitempty"`
UpdatedAt *time.Time `db:"updated_at"`
}