diff --git a/main.go b/main.go index cd570dd..9101ff6 100644 --- a/main.go +++ b/main.go @@ -147,7 +147,7 @@ func randBytes(n int) []byte { const letterBytes = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890" b := make([]byte, n) for i := range b { - b[i] = letterBytes[rand.Intn(len(letterBytes))] + b[i] = letterBytes[rand.Int(len(letterBytes))] } return b }