From f221480b2c6fba435665c47495c17d1cb5dde0c6 Mon Sep 17 00:00:00 2001 From: qowevisa Date: Thu, 28 Nov 2024 13:39:43 +0200 Subject: [PATCH] Add marker for Hepler_ExpenseBulk.CreateExpenseFromChild to sweep it under the rug --- db/expense.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/db/expense.go b/db/expense.go index 7f1372e..2c8e7f2 100644 --- a/db/expense.go +++ b/db/expense.go @@ -34,6 +34,7 @@ type Helper_ExpenseBulk struct { UserID uint } +// {{{ Helper_ExpenseBulk.CreateExpenseFromChild I'm not proud of this code func (he *Helper_ExpenseBulk) CreateExpenseFromChild(c Expense) *Expense { var cardID uint var typeID uint @@ -80,6 +81,8 @@ func (he *Helper_ExpenseBulk) CreateExpenseFromChild(c Expense) *Expense { } } +// }}} + // Implements db.UserIdentifiable:1 func (e Expense) GetID() uint { return e.ID