Remove unused random variable
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Peter Stuifzand 2020-10-07 10:17:08 +02:00
parent 085c41dabe
commit e2f3656474

View File

@ -23,12 +23,6 @@ type ParsedLink struct {
Href string `json:"href"`
}
var random *rand.Rand
func init() {
random = rand.New(rand.NewSource(time.Now().UnixNano()))
}
const letterBytes = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
func RandStringBytes(n int) string {