Documentation
¶
Overview ¶
Package id generates the identifiers Wegweiser uses as primary keys.
- it can be assigned before the transaction that stores it, so a caller can build a whole object graph and write it in one batch;
- it stays unique when nodes merge their state once the cluster arrives;
- it is safe to put in a URL, because it leaks no row count.
Index ¶
Constants ¶
View Source
const Size = ulid.EncodedSize
Size is the length of an identifier in its canonical text form.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.