We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d19e8da commit faefa0fCopy full SHA for faefa0f
logic/util.go
@@ -293,7 +293,7 @@ func RandomString(length int) string {
293
294
// GenerateRandomString - generates random string of n length
295
func GenerateRandomString(n int) (string, error) {
296
- const chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-"
+ const chars = "123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-"
297
ret := make([]byte, n)
298
for i := range ret {
299
num, err := crand.Int(crand.Reader, big.NewInt(int64(len(chars))))
0 commit comments