Slice helpers Contains mathematic functions. i := math.Min(10, 100) // Returns 10. i = math.MustBetween(10, 100, 1000) // Returns 100. Documentation GoDoc