diff options
| author | 2021-08-31 15:59:12 +0200 | |
|---|---|---|
| committer | 2021-09-01 11:11:26 +0200 | |
| commit | 2786b5f88742c3f32b8ed497df3737cb4f57caec (patch) | |
| tree | c088b71b228a52fb3bbf37628caea82ff7a42067 /internal/id | |
| parent | go fmt (diff) | |
| download | gotosocial-2786b5f88742c3f32b8ed497df3737cb4f57caec.tar.xz | |
change muchos things
Diffstat (limited to 'internal/id')
| -rw-r--r-- | internal/id/ulid.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/id/ulid.go b/internal/id/ulid.go index f9fbd4d88..1b0c2e537 100644 --- a/internal/id/ulid.go +++ b/internal/id/ulid.go @@ -10,6 +10,7 @@ import ( const randomRange = 631152381 // ~20 years in seconds +// ULID represents a Universally Unique Lexicographically Sortable Identifier of 26 characters. See https://github.com/oklog/ulid type ULID string // NewULID returns a new ULID string using the current time, or an error if something goes wrong. |
