AB
Size: a a a
AB
ЯК
AB
AP
ЛА
ЯК
AB
ЯК
type randomizer struct {
*rand.Rand
}
type Randomizer interface {
Intn(int) int
Geometric(float64) int64
Shuffle(int, func(int, int))
}
AB
ЯК
AB
AB
ЯК
ЯК
ЯК
ЯК
AB
AB
func getRandomNumber() int {
return 4
// chosen by fair dice roll.
// guranteed to be random
}
ЯК