bwmarrin / snowflake

A simple to use Go (golang) package to generate or parse Twitter snowflake IDs
BSD 2-Clause "Simplified" License
3.02k stars 374 forks source link

Short BaseXX #7

Closed bwmarrin closed 7 years ago

bwmarrin commented 7 years ago

In go-alone the encode/decode methods create a very small Base64 timestamp by removing prefixing zeros and trailing characters. Implement something similar for our snowflake library here.

bwmarrin commented 7 years ago

https://github.com/bwmarrin/snowflake/issues/5