Open Lcoderfit opened 4 years ago
https://github.com/beego/samples/blob/1c696ee4905b2b12edf7d7dc451220bc838c1296/shorturl/models/model.go#L40
for num > 0 { runes = append(runes, alpha[num%62]) num = num / 62 }
https://github.com/beego/samples/blob/1c696ee4905b2b12edf7d7dc451220bc838c1296/shorturl/models/model.go#L40