.src.ledger.Delta.transaction = filename/idx
All checks were successful
cicd / ci (push) Successful in 1m27s

This commit is contained in:
bel
2024-07-13 12:35:10 -06:00
parent bdcd9fe26a
commit e633ee07ab
6 changed files with 21 additions and 7 deletions

View File

@@ -15,9 +15,10 @@ type Delta struct {
Currency Currency
Description string
isSet bool
transaction string
}
func newDelta(d, desc, name string, v float64, c string, isSet bool) Delta {
func newDelta(transaction string, d, desc, name string, v float64, c string, isSet bool) Delta {
return Delta{
Date: d,
Name: name,
@@ -25,6 +26,7 @@ func newDelta(d, desc, name string, v float64, c string, isSet bool) Delta {
Currency: Currency(c),
Description: desc,
isSet: isSet,
transaction: transaction,
}
}