Home > Backend Development > Golang > Introduce CLI ID generator

Introduce CLI ID generator

Linda Hamilton
Release: 2024-12-21 02:59:10
Original
547 people have browsed it

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
Copy after login

Usage

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

UUID

$ idgen uuid
Copy after login

ULID

$ idgen ulid
Copy after login

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!

source:dev.to
Statement of this Website
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
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template