Home >Backend Development >Golang >Introduce CLI ID generator

Introduce CLI ID generator

Linda Hamilton
Linda HamiltonOriginal
2024-12-21 02:59:10656browse

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

Usage

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

UUID

$ idgen uuid

ULID

$ idgen ulid

Future development

I will keep improving idgen.

For example:

  • Support installation of Homebrew
  • Generate multiple id

I welcome your contributions.
Thank you.

The above is the detailed content of Introduce CLI ID generator. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn