Skip to content

Commit 5098d2f

Browse files
committed
feat(pkg): migrate uuid pkg to v7
1 parent c8afb88 commit 5098d2f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkg/uuid/uuid.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,7 @@ type goUUID struct{}
2626

2727
// This function is responsible for generating UUID v4 of the google package.
2828
func (g *goUUID) Generate() string {
29-
return uuid.NewString()
29+
uuid, _ := uuid.NewV7()
30+
31+
return uuid.String()
3032
}

0 commit comments

Comments
 (0)