base62

package module
v0.0.0-...-4f41558 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2017 License: MIT Imports: 2 Imported by: 2

README

go-base62

Build Status GoDoc

go-base62 is a base62 converter fo Go. Useful for url shorteners.

Docs at http://godoc.org/github.com/jcoene/go-base62

Original Author

Documentation

Overview

Package base62 implements conversion to and from base62. Useful for url shorteners.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(token string) int64

Decode decodes a base62 encoded string to an int64.

func DecodeUint64

func DecodeUint64(token string) uint64

DecodeUint64 decodes a base62 encoded string to an uint64.

func Encode

func Encode(number int64) string

Encode encodes an int64 to a base62 encoded string.

func EncodeUint64

func EncodeUint64(number uint64) string

EncodeUint64 encodes a uint64 to a base62 encoded string.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL