[ Agent ] [ CMII ] - 完成工具类的代码

This commit is contained in:
zeaslity
2024-01-09 16:42:27 +08:00
parent 36b8e36392
commit 22faf15665
18 changed files with 1307 additions and 13 deletions

View File

@@ -0,0 +1,22 @@
package utils
func MinInt(x, y int) int {
if x < y {
return x
}
return y
}
func MaxInt32(x, y int32) int32 {
if x > y {
return x
}
return y
}
func MaxInt(x, y int) int {
if x > y {
return x
}
return y
}