Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 338 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 338 Bytes

base62

Go base62 encoding and decoding

go doc

Install

go get github.com/TheFutureIsOurs/base62

How to use

// encode
num := 264688217293324297
str := base62.Encode(int64(num))
fmt.Println(str)

// decodde
res, err := base62.Decode(str)
fmt.Println(res, err)