package
0.0.0-20160914140844-13f918f98fbc
Repository: https://github.com/hailooss/go-hailo-lib.git
Documentation: pkg.go.dev

# Functions

Compresses a numeric id string from base-10 to base-36.
Compresses the 2nd numeric part of a string to a base-36 encoding to shorten the length of an id - so passing offset == 3 will compress leaving the Hob part of the id untouched This is needed for the loyalty service which must send id.s with relaively short max.
Uncompresses a numeric id string from base-36 to base-10.
The converse of the CompressTail36(..) that reflates the numeric part of an id to base-10 so it can be matched elsewhere in the system.