The backend for the project formerly known as signet, now known as beignet.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- 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
- }
|