engine/utils/identity.go

11 lines
150 B
Go

package utils
import (
ulid "github.com/oklog/ulid/v2"
)
// remove nanoid,uuid,replace to ulid
func ULID() string {
return ulid.Make().String()
}