fix: random seed set

This commit is contained in:
TheAxeDude 2023-09-04 19:35:03 +02:00
parent 4b5693c6ed
commit 0a270ca883
6 changed files with 1 additions and 1 deletions

View File

@ -510,7 +510,7 @@ func RemoveBadCharacters(input string) string {
var letters = []rune("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890")
func randSeq(n int) string {
rand.Seed(time.Now().UnixNano())
b := make([]rune, n)
for i := range b {
b[i] = letters[rand.Intn(len(letters))]

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.