mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 02:00:43 +00:00
16 lines
149 B
Go
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
|
|
}
|