github.com/prebid/prebid-server/v2@v2.18.0/util/randomutil/randomutil.go (about) 1 package randomutil 2 3 import ( 4 "math/rand" 5 ) 6 7 type RandomGenerator interface { 8 GenerateInt63() int64 9 } 10 11 type RandomNumberGenerator struct{} 12 13 func (RandomNumberGenerator) GenerateInt63() int64 { 14 return rand.Int63() 15 }