Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (15 sloc) 238 Bytes
package fyne
// Min returns the smaller of the passed values.
func Min(x, y int) int {
if x < y {
return x
}
return y
}
// Max returns the larger of the passed values.
func Max(x, y int) int {
if x > y {
return x
}
return y
}
You can’t perform that action at this time.