Skip to content

Commit

Permalink
fix:fix the RandLowerAlphanumeric
Browse files Browse the repository at this point in the history
  • Loading branch information
R22627 authored and R22627 committed Dec 29, 2023
1 parent 257de1f commit e9a9e49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion math/randstr.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func RandAlphanumeric(l int) string {
func RandLowerAlphanumeric(l int) string {
s := make([]byte, l)
for i := range s {
s[i] = alphanumeric[RandIntn(lowerAlphanumericLen)]
s[i] = lowerAlphanumeric[RandIntn(lowerAlphanumericLen)]
}
return string(s)
}

0 comments on commit e9a9e49

Please sign in to comment.