Use 6 chars for the short URL

parent 884db77f
......@@ -186,7 +186,7 @@ func main() {
// keep generating IDs until we find a unique one
for {
// generate a new Id
id = Id(4)
id = Id(6)
fmt.Printf("id=%s\n", id)
// see if it already exists
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment