This commit is contained in:
shoopea 2019-05-19 11:12:53 +08:00
parent d6268acc60
commit 8c80e1dc87

View File

@ -20,7 +20,7 @@ func logOnError(err error, msg string) {
}
}
func Min(int a, int b) int {
func Min(a int, b int) int {
if a < b {
return a
} else {
@ -28,7 +28,7 @@ func Min(int a, int b) int {
}
}
func Max(int a, int b) int {
func Max(a int, b int) int {
if a > b {
return a
} else {