github.com/lemon-mint/libuseful@v1.3.1-0.20220724073654-ee73785d5aa0/example/fastrand/rand.go (about)

     1  package main
     2  
     3  import (
     4  	"fmt"
     5  
     6  	"github.com/lemon-mint/libuseful"
     7  )
     8  
     9  func main() {
    10  	fmt.Println("FastRand32() =", libuseful.FastRand32())
    11  	fmt.Println("FastRand32() =", libuseful.FastRand32())
    12  	fmt.Println("FastRand32() =", libuseful.FastRand32())
    13  	fmt.Println("FastRand32() =", libuseful.FastRand32())
    14  	fmt.Println("FastRand32n(256) =", libuseful.FastRand32n(256))
    15  	fmt.Println("FastRand32n(256) =", libuseful.FastRand32n(256))
    16  	fmt.Println("FastRand32n(256) =", libuseful.FastRand32n(256))
    17  	fmt.Println("FastRand32n(256) =", libuseful.FastRand32n(256))
    18  }