Skip to content
Snippets Groups Projects
Commit 4269dcad authored by Jonas Leder's avatar Jonas Leder
Browse files

remove unused helper package

parent 9b28ec5b
No related branches found
No related tags found
No related merge requests found
Pipeline #54527 passed
package helper
import (
"math/rand"
)
func GenerateRandomString(length int) string {
const charset = "abcdefghijklmnopqrstuvwxyz0123456789"
// Generate random string
result := make([]byte, length)
for i := range result {
result[i] = charset[rand.Intn(len(charset))]
}
return string(result)
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment