remove nanoid,uuid,replace to ulid

This commit is contained in:
yanweidong 2024-09-20 14:46:46 +08:00
parent 8537320513
commit 3d609bfba8
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@ import (
ulid "github.com/oklog/ulid/v2"
)
// remove nanoid,uuid,replace to ulid
func ULID() string {
return ulid.Make().String()
}