newDelta accepts isSet

This commit is contained in:
Bel LaPointe
2023-10-25 11:27:57 -06:00
parent cd38f0669f
commit b1deb29575
3 changed files with 6 additions and 3 deletions

View File

@@ -17,13 +17,14 @@ type Delta struct {
isSet bool
}
func newDelta(d, desc, name string, v float64, c string) Delta {
func newDelta(d, desc, name string, v float64, c string, isSet bool) Delta {
return Delta{
Date: d,
Name: name,
Value: v,
Currency: Currency(c),
Description: desc,
isSet: isSet,
}
}