// IntMax returns the maximum of the params func IntMax(a, b int) int { … } // IntMin returns the minimum of the params func IntMin(a, b int) int { … } // Int32Max returns the maximum of the params func Int32Max(a, b int32) int32 { … } // Int32Min returns the minimum of the params func Int32Min(a, b int32) int32 { … } // Int64Max returns the maximum of the params func Int64Max(a, b int64) int64 { … } // Int64Min returns the minimum of the params func Int64Min(a, b int64) int64 { … } // RoundToInt32 rounds floats into integer numbers. // Deprecated: use math.Round() and a cast directly. func RoundToInt32(a float64) int32 { … }