base62

package
v0.0.1-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package base62 provides simple implementation of Base62 encoding/ecoding. Borrowed from here: https://intersog.com/blog/how-to-write-a-custom-url-shortener-using-golang-and-redis/ unfortunately the source didn't provide any licencing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(encoded string) (uint64, error)

func Encode

func Encode(number uint64) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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