delphi.market/lib/max.go

9 lines
76 B
Go

package lib
func Max(x, y int) int {
if x < y {
return y
}
return x
}