package main import "github.com/imosed/signet/data" func SumContributions(contributions []data.Contribution) (sum float64) { total := 0.0 for _, contribution := range contributions { total += contribution.Amount } return total }