rename file

This commit is contained in:
Andrea Spacca
2021-07-16 07:59:02 +02:00
parent 1ff9ccd01e
commit 2ecedb93c6
2 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ const (
func Token(length int) string {
result := ""
for i := 0; i < length; i++ {
x := rand.Intn(len(SYMBOLS))
x := rand.Intn(len(SYMBOLS) - 1)
result = string(SYMBOLS[x]) + result
}