summaryrefslogtreecommitdiff
path: root/model/uuid.go
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2024-04-14 00:20:44 +0200
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2024-04-14 00:20:44 +0200
commit92d6bc8db541582982ee38fd62f16f63efceb559 (patch)
tree4817313bbdfb60ca37f389eafe726cb87001eac9 /model/uuid.go
parentd6d54abb48f061128efc16081a270c5adaa8a43f (diff)
WIP: User table
Diffstat (limited to 'model/uuid.go')
-rw-r--r--model/uuid.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/model/uuid.go b/model/uuid.go
index 8852cc8..4a25e41 100644
--- a/model/uuid.go
+++ b/model/uuid.go
@@ -10,7 +10,7 @@ type UUID struct {
}
func MakeUUID() UUID {
- id, _ := uuid.NewRandom()
+ id, _ := uuid.NewV7()
return UUID { payload: id }
}