Documentation ¶
Overview ¶
Munemo is a reversible numeric encoding library. It's designed to take id numbers, and present them in more human friendly forms. It does this by using a set of symbols, and doing a base conversion to them. There are a couple of known dialects.
Original: This is compatible with the original symbol set. This has the disadvantage of being variable length, and non-sortable.
Munemo2: This symbol set was developed as a replacement. All symbols are 2 characters, and it creates sortable strings.
It is inspired by the ruby library https://github.com/jmettraux/munemo.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Munemo2 = dialect{ // contains filtered or unexported fields }
Munemo2 is a reworked set of symbols. These are alphebetically sortable.
var Original = dialect{ // contains filtered or unexported fields }
Orignal is the original munemo spec. It comes from https://github.com/jmettraux/munemo and is deprecated because it's non-sortable and variable length.