wip
parent
6c31005d24
commit
74e6b77a22
|
|
@ -46,7 +46,12 @@ func NewContributionPredictor(reg ledger.Register) Predictor {
|
||||||
}
|
}
|
||||||
|
|
||||||
func getMonthlyContributionRate(reg ledger.Register) map[string]ledger.Balance {
|
func getMonthlyContributionRate(reg ledger.Register) map[string]ledger.Balance {
|
||||||
|
contributions := getRecentContributions(reg)
|
||||||
|
result := make(map[string]ledger.Balance)
|
||||||
|
for name := range contributions {
|
||||||
panic(nil)
|
panic(nil)
|
||||||
|
}
|
||||||
|
return result
|
||||||
}
|
}
|
||||||
|
|
||||||
func getRecentContributions(reg ledger.Register) map[string][]ledger.Balance {
|
func getRecentContributions(reg ledger.Register) map[string][]ledger.Balance {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue