kruise-game/pkg/util/math.go

9 lines
77 B
Go

package util
func Min(a, b int) int {
if a < b {
return a
}
return b
}