From ca0754725b4a34536d881339be0bd152a1373476 Mon Sep 17 00:00:00 2001 From: andreimarcu Date: Mon, 28 Sep 2015 12:53:07 -0400 Subject: [PATCH] Respect filename format --- util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.go b/util.go index 6ebb5d0..2a43348 100644 --- a/util.go +++ b/util.go @@ -8,7 +8,7 @@ import ( // from http://stackoverflow.com/a/31832326 var src = rand.NewSource(time.Now().UnixNano()) -const letterBytes = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" +const letterBytes = "abcdefghijklmnopqrstuvwxyz1234567890" const ( letterIdxBits = 6 // 6 bits to represent a letter index letterIdxMask = 1<