mirror of
https://gitee.com/NorthCityChen/stl-go.git
synced 2025-05-25 12:01:08 +00:00
ADD: randstr
This commit is contained in:
parent
2cb1a5c174
commit
cecb8fe8fb
12
app.go
12
app.go
@ -12,7 +12,7 @@ import (
|
|||||||
|
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"gitee.com/NorthCityChen/stl-go/randoom"
|
"gitee.com/NorthCityChen/stl-go/random"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
@ -27,9 +27,9 @@ func main() {
|
|||||||
// random.RandStringBytesMaskImprSrcSB(5)
|
// random.RandStringBytesMaskImprSrcSB(5)
|
||||||
// fmt.Println(r)
|
// fmt.Println(r)
|
||||||
// ret := randoom.RandStr(45)
|
// ret := randoom.RandStr(45)
|
||||||
fmt.Println(randoom.RandStr(45))
|
fmt.Println(random.RandStr(45))
|
||||||
fmt.Println(randoom.RandStr(45))
|
fmt.Println(random.RandStr(45))
|
||||||
fmt.Println(randoom.RandStr(45))
|
fmt.Println(random.RandStr(45))
|
||||||
fmt.Println(randoom.RandStr(45))
|
fmt.Println(random.RandStr(45))
|
||||||
fmt.Println(randoom.RandStr(45))
|
fmt.Println(random.RandStr(45))
|
||||||
}
|
}
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: NorthCity1984
|
* @Author: NorthCity1984
|
||||||
* @LastEditTime: 2022-04-04 16:10:11
|
* @LastEditTime: 2022-04-04 16:11:37
|
||||||
* @Description:
|
* @Description:
|
||||||
* @Website: https://grimoire.cn
|
* @Website: https://grimoire.cn
|
||||||
* Copyright (c) NorthCity1984 All rights reserved.
|
* Copyright (c) NorthCity1984 All rights reserved.
|
||||||
*/
|
*/
|
||||||
package randoom
|
package random
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"math/rand"
|
"math/rand"
|
Loading…
x
Reference in New Issue
Block a user