cloud-game/pkg/util/common.go
giongto35 50343faaad
Update Audio batch + Fix the issue reload failed + escape room ID (#106)
* Try muted first

* WIP

* Update AudioChannel by batch

* Update util package

* Remove min

* Tidy module

* Update module
2019-10-12 21:46:02 +08:00

8 lines
84 B
Go

package util
func MinInt(x int, y int) int {
if x < y {
return x
}
return y
}