# gofrs/uuid

A UUID package for Go

Repository: https://github.com/gofrs/uuid
Canonical: https://ross.abutalabs.com/products/gofrs-uuid
Language: Go
License: MIT
License Family: permissive
Topics: go, uuid-generator, uuid1, uuid3, uuid4, uuid5, uuid, forked-repo, uuid6, uuid7
Last push: 2026-08-17T11:18:04+00:00

## Health v2 (maintenance only)
Score: 89/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 72, longevity 100
- inputs: {"age_days": 2974, "days_push": 16, "days_rel": 30, "gap_med": 130.0, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1811, forks 125 (observed 2026-08-28T04:05:39.587778+00:00)

## What it is
A pure Go library implementing Universally Unique Identifiers (UUIDs) per RFC-9562, supporting creation and parsing of UUID versions 1, 3, 4, 5, 6, 7, and 8. It is a maintained community fork of the abandoned satori/go.uuid package.

## Use cases
- generate random UUIDs (v4) for database primary keys
- create k-sortable time-based UUIDs (v6/v7) for ordered identifiers
- parse UUID strings in various formats
- generate name-based UUIDs from MD5 or SHA-1 hashing
- replace the unmaintained satori/go.uuid package
- define custom UUID variants with version 8

## When to choose
- you need a well-maintained, pure-Go UUID implementation with no dependencies
- you want RFC-9562 compliant UUIDs including sortable v6/v7 variants
- you are migrating from satori/go.uuid

## When to avoid
- you need UUIDs in a language other than Go
- you only need simple random IDs and prefer the standard library's crypto/rand directly
- you need ULIDs or other non-UUID identifier schemes

## Facets
- artifact type: library
- maturity: stable
- function: serialization, developer-tools
- domain: developer-tools, backend, databases
- platform: go, cross-platform
- tags: uuid, rfc-9562, uuid-v7, k-sortable-ids, identifier-generation

## Member repositories
- gofrs/uuid (main) score 89

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:39.587778+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:21:15.910349+00:00, confidence not recorded.
  - readme: https://github.com/gofrs/uuid (fetched 2026-08-28T04:05:39.587778+00:00, sha 22e3246e8822)
- Data as of 2026-08-30T08:39:29.467469+00:00.
