func ToBase62(num int) string {
	r := num % b
	res := string(base[r])
	div := num / b
	q := int(math.Floor(float64(div)))
	for q != 0 {
		r = q % b
		temp := q / b
		q = int(math.Floor(float64(temp)))
		res = string(base[int(r)]) + res
	}
	return string(res)
}
// ToBase62 encodes the given ID to a base62 string
ToBase62 encodes the given ID to a base62 string
// ToBase62 encodes the given ID to a base62 string
func ToBase62(num int) string {
	r := num % b
	res := string(base[r])
	div := num / b
	q := int(math.Floor(float64(div)))
	for q != 0 {
		r = q % b
		temp := q / b
		q = int(math.Floor(float64(temp)))
		res = string(base[int(r)]) + res
	}
	return string(res)
}
func ToBase62 ( num int ) string { r := num % b res := string ( base [ r ] ) div := num / b q := int ( math . Floor ( float64 ( div ) ) ) for q != 0 { r = q % b temp := q / b q = int ( math . Floor ( float64 ( temp ) ) ) res = string ( base [ int ( r ) ] ) + res } return string ( res ) }
ToBase62 encodes the given ID to a base62 string
ToBase62 encodes the given ID to a base62 string