Skip to content
Sections
>> Trisquel >> Пакети >> aramo >> golang >> golang-github-segmentio-ksuid-dev
aramo  ]
[ Източник: golang-github-segmentio-ksuid  ]

Пакет: golang-github-segmentio-ksuid-dev (1.0.4-2)

K-Sortable Globally Unique IDs (Go library)

ksuid is an efficient, comprehensive, battle-tested Go library for generating and parsing a specific kind of globally unique identifier called a *KSUID*. This library serves as its reference implementation.

What is a KSUID?

KSUID is for K-Sortable Unique IDentifier. It is a kind of globally unique identifier similar to a RFC 4122 UUID, built from the ground-up to be "naturally" sorted by generation timestamp without any special type-aware logic.

In short, running a set of KSUIDs through the UNIX sort command will result in a list ordered by generation time.

Why use KSUIDs?

There are numerous methods for generating unique identifiers, so why KSUID?

 1. Naturally ordered by generation time
 2. Collision-free, coordination-free, dependency-free
 3. Highly portable representations

See https://segment.com/blog/a-brief-history-of-the-uuid/

Изтегляне на golang-github-segmentio-ksuid-dev

Изтегляне за всички налични архитектури
Архитектура Големина на пакета Големина след инсталиране Файлове
all 16,0 кБ75 кБ [списък на файловете]