This commit is contained in:
2025-04-02 10:16:07 +08:00
parent a5caa734c3
commit b5ef982645
24 changed files with 149 additions and 101 deletions

View File

@@ -44,7 +44,7 @@ func RandomString(n int) string {
var sb strings.Builder
k := len(alphabet)
for i := 0; i < n; i++ {
for range n {
c := alphabet[randv2.IntN(k)]
sb.WriteByte(c)
}