go-common/vendor/github.com/bluele/gcache/utils.go
2019-04-22 02:59:20 +00:00

16 lines
149 B
Go

package gcache
func minInt(x, y int) int {
if x < y {
return x
}
return y
}
func maxInt(x, y int) int {
if x > y {
return x
}
return y
}