Encode and decode integers to and from Flickr flavoured base58, useful for short URLs. Alphanumeric reference: 123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz
go get github.com/theomjones/base58
package main
import (
"fmt"
"github.com/theomjones/base58"
)
func main() {
e := base58.Encode(90218978)
fmt.Println(e) // "8yPxd"
d := base58.Decode("8yPxd")
fmt.Println(d) // 90218978
}