Ocean/Tools/Random.go
Thorsten Sommer f33f7b5c29 Refactoring, Bugfix & Updates
+ Refactored all imports
+ Fixed a bug for the logging regarding removing \n \t \r
+ Updated to current MGO release
+ Changed the name of ICCC
2014-10-19 19:19:11 +02:00

11 lines
122 B
Go

package Tools
import (
"math/rand"
)
func RandomInteger(max int) (rnd int) {
rnd = rand.Intn(max)
return
}