DEV Community

Shinya Sakae
Shinya Sakae

Posted on

Introduce CLI ID generator

I present an ID generator I developed.

  • Command line interface
  • Support UUID and ULID
  • Implemented in Go

https://github.com/ss49919201/idgen

idgen

The software is named idgen.
It is an abbreviation for id generator.

Install

Install using go install.
Other installation methods will be added.

$ go install github.com/ss49919201/idgen@latest
Enter fullscreen mode Exit fullscreen mode

Usage

It has a very simple interface.
Enter id type after idgen.

UUID

$ idgen uuid
Enter fullscreen mode Exit fullscreen mode

ULID

$ idgen ulid
Enter fullscreen mode Exit fullscreen mode

Future development

I will keep improving idgen.

For example:

  • Support installation of Homebrew
  • Generate multiple id

I welcome your contributions.
Thank you.

Top comments (0)