1
0
Fork 0
mirror of https://github.com/Luzifer/gcr-clean.git synced 2024-12-23 11:51:19 +00:00
gcr-clean/vendor/github.com/docker/go-metrics/helpers.go

11 lines
128 B
Go
Raw Permalink Normal View History

package metrics
func sumFloat64(vs ...float64) float64 {
var sum float64
for _, v := range vs {
sum += v
}
return sum
}