init project

This commit is contained in:
admin committed 2025-12-05 17:23:29 +08:00
commit d63cc8d9f5
33 files changed
+1529

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
package util
import (
"strings"
"git.xiaotuo.co/pkg/tool/stringx"
"github.com/google/uuid"
)
func MakeRequestID() string {
return stringx.MakeUUID()
}
func MakeTaskNo() string {
taskNo := uuid.NewString()
return strings.ReplaceAll(taskNo, "-", "")
}