id is val
All checks were successful
cicd / ci (push) Successful in 3m5s

This commit is contained in:
bel
2026-03-22 00:04:34 -06:00
parent d743b6dbd0
commit 7ac5c15ff8

View File

@@ -41,6 +41,10 @@ func newDelta(transaction string, payee bool, d, desc, name string, v float64, c
}
}
func (delta Delta) ID() string {
return fmt.Sprintf("%.2f", delta.Value)
}
func (delta Delta) withWith(other Delta) Delta {
other.with = nil
delta.with = append(delta.with, other)