File: helpers.go

package info (click to toggle)
golang-github-docker-go-metrics 0.0~git20180209.399ea8c-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, experimental, sid
  • size: 152 kB
  • sloc: makefile: 2
file content (10 lines) | stat: -rw-r--r-- 128 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
package metrics

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

	return sum
}