- Handle for ID's
- Generate ID's
- Convert from base62 to UUID
- Convert from UUID to base62
- Build with Docker
$~ docker build -t gen .
- Run the binary
$~ docker run gen:latest ./genid --help
-
It should print all the flags available
-
Generate 3 ID's
$~ docker run gen:latest ./genid -c 3
- Convert from base62 to UUID
$~ docker run gen:latest ./genid -s 6TxH1ZE9oNEoxWWqUv9ho4
- Convert from UUID to base62
$~ docker run gen:latest ./genid -b d5042d58-55ad-45b3-ac8b-d343b3dbcb54
- The first time running
make
it will generate therules.mk
file, just runmake
again and everything should workout