math math.Product 返回所有数字的乘积。接受标量、切片,或两者混用。 签名 math.Product VALUE... 返回类型 float64 {{ math.Product 1 (slice 2 3) 4 }} → 24 ← 上一篇:math.Pow 下一篇:math.Rand →