newDelta accepts isSet
This commit is contained in:
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user