/uuid

UUID generator

Primary LanguageGoMIT LicenseMIT

UUID generator

Command line tool to generate a random UUID.

Installation

go install github.com/timwmillard/uuid@latest

Usage

Generate a random UUID:

uuid

Generate a nil UUID:

uuid -nil

Generate a version 7 UUID:

uuid -v7

Default will generate a version 4 UUID.

Generate Multiple UUID's

Use the -n flag to generate multiple UUID's.

uuid -n=5

Why not uuidgen

  • uuidgen generates UUID's in capital letters (personal preference)
  • uuid is shorter to type (I know I could create an alias but this is funner).
  • Can generate different versions of uuid.
  • Can generate mutiple UUID's.