From 3d609bfba8aacaa2b6c6c82fe53b74fff09e4682 Mon Sep 17 00:00:00 2001 From: yanweidong Date: Fri, 20 Sep 2024 14:46:46 +0800 Subject: [PATCH] remove nanoid,uuid,replace to ulid --- utils/identity.go | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/identity.go b/utils/identity.go index d0642ee..4aa0a33 100644 --- a/utils/identity.go +++ b/utils/identity.go @@ -4,6 +4,7 @@ import ( ulid "github.com/oklog/ulid/v2" ) +// remove nanoid,uuid,replace to ulid func ULID() string { return ulid.Make().String() }