From 3b17cff1ea1b88f741bdeec0d3b491ccfb4aa8b3 Mon Sep 17 00:00:00 2001 From: qowevisa Date: Sat, 3 Aug 2024 15:50:03 +0300 Subject: [PATCH] Add comment to income --- db/income.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/db/income.go b/db/income.go index 5109f17..56d4894 100644 --- a/db/income.go +++ b/db/income.go @@ -8,8 +8,9 @@ import ( type Income struct { gorm.Model - CardID uint - Card *Card - Value uint64 - Date time.Time + CardID uint + Card *Card + Value uint64 + Comment string + Date time.Time }