Sum
func Sum[T numbers](slice []T) (result T)
Sum takes a slice of numbers T, which can be any of the number types, and returns a sum of their values.
func Sum[T numbers](slice []T) (result T)
Sum takes a slice of numbers T, which can be any of the number types, and returns a sum of their values.