cleanup code
This commit is contained in:
@@ -268,8 +268,7 @@ func Choice[T any](items []T) T {
|
||||
return items[r.Intn(len(items))]
|
||||
}
|
||||
|
||||
// GenerateRandomString creates a random string of a specified length.
|
||||
func GenerateRandomString(length int) string {
|
||||
func GenerateNonSecureRandomString(length int) string {
|
||||
charset := []rune("abcdefghijklmnopqrstuvwxyz0123456789")
|
||||
b := make([]rune, length)
|
||||
for i := range b {
|
||||
|
||||
Reference in New Issue
Block a user