func MinInt32(vals []int32) int32 {
	if len(vals) == 0 {
		return 0
	} else if len(vals) == 1 {
		return vals[0]
	}

	min := vals[0]

	for _, v := range vals[1:] {
		if v < min {
			min = v
		}
	}

	return min
}
// MinInt32 returns the minimum value of an int32 slice, or 0 if the slice is empty.
MinInt32 returns the minimum value of an int32 slice, or 0 if the slice is empty.
// MinInt32 returns the minimum value of an int32 slice or 0 if the slice is empty .
func MinInt32(vals []int32) int32 {
	if len(vals) == 0 {
		return 0
	} else if len(vals) == 1 {
		return vals[0]
	}
	min := vals[0]
	for _, v := range vals[1:] {
		if v < min {
			min = v
		}
	}
	return min
}
func MinInt32 ( vals [ ] int32 ) int32 { if len ( vals ) == 0 { return 0 } else if len ( vals ) == 1 { return vals [ 0 ] } min := vals [ 0 ] for _ , v := range vals [ 1 : ] { if v < min { min = v } } return min }
MinInt32 returns the minimum value of an int32 slice, or 0 if the slice is empty.
MinInt32 returns the minimum value of an int32 slice or 0 if the slice is empty .