10 lines
111 B
Go
10 lines
111 B
Go
|
package random
|
||
|
|
||
|
import (
|
||
|
"math/rand"
|
||
|
)
|
||
|
|
||
|
func Int(min, max int64) int64 {
|
||
|
return min + rand.Int63n(max-min)
|
||
|
}
|