mirror of
https://gitee.com/johng/gf.git
synced 2024-12-05 05:37:55 +08:00
17 lines
208 B
Go
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))
|
|
}
|
|
}
|