prediction COMPLETE

This commit is contained in:
Bel LaPointe
2023-10-26 05:56:36 -06:00
parent bd4e0a913a
commit eda1c564d4
3 changed files with 96 additions and 17 deletions

View File

@@ -8,7 +8,12 @@ import (
type Register map[string]Balances
func (register Register) PushAll(other Register) {
TODO
for date := range other {
if _, ok := register[date]; !ok {
register[date] = make(Balances)
}
register[date].PushAll(other[date])
}
}
func (register Register) Names() []string {