gf/.example/util/grand/grand.go
2020-05-27 11:26:05 +08:00

17 lines
208 B
Go

package main
import (
"fmt"
"github.com/gogf/gf/util/grand"
)
func main() {
for i := 0; i < 100; i++ {
fmt.Println(grand.S(16))
}
for i := 0; i < 100; i++ {
fmt.Println(grand.N(0, 99999999))
}
}