diff options
author | 2021-08-31 15:59:12 +0200 | |
---|---|---|
committer | 2021-08-31 15:59:12 +0200 | |
commit | b95c80def6413df85ff53a5bcdbd553936c2d6e2 (patch) | |
tree | fa3fcc7e4bd2deaf371c324279fd6521ffb24445 /internal/id/ulid.go | |
parent | go fmt (diff) | |
download | gotosocial-b95c80def6413df85ff53a5bcdbd553936c2d6e2.tar.xz |
change muchos things
Diffstat (limited to 'internal/id/ulid.go')
-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. |